text stringlengths 2 104M | meta dict |
|---|---|
# Convert your Raspberry into a VPN
If you want to be able to access your homelab from the outside of your network without the need of opening your network to the world and dealing with all the security issues that this means.
Turning your Raspberry into a VPN is pretty easy thanks to the folks developing [PiVPN](http... | {
"repo_name": "pluja/Selfhosted-Google-Photos-Alternative",
"stars": "153",
"repo_language": "None",
"file_name": "README.md",
"mime_type": "text/plain"
} |
# Set up the RPI4 server
Download Ubuntu Server image or Raspbian for Raspberry Pi. It is recommended to get the LTS version.
- Ubuntu Server: https://ubuntu.com/download/raspberry-pi
- Raspbian: https://www.raspberrypi.org/software/operating-systems/
Raspbian is more lightweight and more suitable for Raspberry.
Bu... | {
"repo_name": "pluja/Selfhosted-Google-Photos-Alternative",
"stars": "153",
"repo_language": "None",
"file_name": "README.md",
"mime_type": "text/plain"
} |
# Replacing Google Photos
To replace google photos I will be using a combination of programs and scripts that will end by giving me the very same functionallity I got when I was using Google Photos.
These technologies will be:
- [PiGallery2](https://github.com/bpatrik/pigallery2) - A simple and lightweight gallery w... | {
"repo_name": "pluja/Selfhosted-Google-Photos-Alternative",
"stars": "153",
"repo_language": "None",
"file_name": "README.md",
"mime_type": "text/plain"
} |
## <p align="center"> Replacing Google Photos </p>
# <p align="center"> Self-Hosted Photo Storage Solution </p>
After testing a lot (almost all of them) of alternatives and solutions. Finally I came up with the definitive solution, the one that gives me everything I want in an easy (once set up is done), cheap, secure ... | {
"repo_name": "pluja/Selfhosted-Google-Photos-Alternative",
"stars": "153",
"repo_language": "None",
"file_name": "README.md",
"mime_type": "text/plain"
} |
## Heuristics for Vendoring MIT Licensed Code
Disclaimer: I am not a lawyer, but I've helped maintain a dependency manager for a decade and this is stuff that comes up.
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Is what you are try... | {
"repo_name": "orta/Heuristics-for-vendoring-MIT-code",
"stars": "57",
"repo_language": "None",
"file_name": "README.md",
"mime_type": "text/plain"
} |
# Homebrew-tiny-scripts
Homebrew tap to install scripts from [vitorgalvao](https://github.com/vitorgalvao/), notably [tiny-scripts](https://github.com/vitorgalvao/tiny-scripts).
## Usage
You’ll need [Homebrew](http://brew.sh/) installed to run these.
[Tap](https://github.com/Homebrew/brew/blob/master/docs/Taps.md) ... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Podbook < Formula
desc "Generate a podcast RSS feed for audiobooks"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "exiftool"
depends_on "vitorgalvao/tiny-scripts/human-media-time"
def install
bin.install... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class PinboardBackup < Formula
desc "Backup all bookmarks from a pinboard account"
homepage "https://github.com/vitorgalvao/tiny-pinboard-scripts"
url "https://github.com/vitorgalvao/tiny-pinboard-scripts.git"
version "2022.1"
def install
bin.install "pinboard-backup"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Gfv < Formula
desc "Make animated gifs from a video file"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "ffmpeg"
depends_on "gifski" => :optional
def install
bin.install "gfv"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class SetupPhpContactForm < Formula
desc "Setup for easy start of a PHP contact form"
homepage "https://github.com/vitorgalvao/setup-php-contact-form"
url "https://github.com/vitorgalvao/setup-php-contact-form.git"
version "2022.1"
def install
bin.install "setup-php-contact-form"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class RssItemSort < Formula
desc "Sort RSS items by number in title and upload the result to temporary hosting"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
def install
bin.install "rss-item-sort"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class CaskAnalytics < Formula
desc "Show analytics information for casks in the main taps"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
def install
bin.install "cask-analytics"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class MtgWallpapers < Formula
desc "Download Magic: The Gathering wallpapers"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.2"
def install
bin.install "mtg-wallpapers"
man1.install "manpages/mtg-wallpapers.1"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Pingpong < Formula
desc "Stitch a video with its reversed version, for continuous loops"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "ffmpeg"
def install
bin.install "pingpong"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Makeicns < Formula
desc "Make an icns file from a png"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
def install
bin.install "makeicns"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Ringtonemaker < Formula
desc "Convert a video or audio file to an iPhone ringtone"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "ffmpeg"
def install
bin.install "ringtonemaker"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class CaskRepair < Formula
desc "Quickly repair outdated/broken Casks from homebrew-cask"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "hub"
depends_on "hr" => :recommended
def install
bin.install "cask-repai... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Progressbar < Formula
desc "Overlay a progress bar on videos or gifs"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "ffmpeg"
depends_on "gfv"
depends_on "imagemagick"
def install
bin.install "progressb... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class PkgExtract < Formula
desc "Extract pkg files in a logical hierarchy"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.2"
def install
bin.install "pkg-extract"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class UploadFile < Formula
desc "Upload paths, with support for several file hosts"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2023.3"
def install
bin.install "upload-file"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class PinboardDeleteUnread < Formula
desc "Delete Pinboard unread bookmarks older than X days"
homepage "https://github.com/vitorgalvao/tiny-pinboard-scripts"
url "https://github.com/vitorgalvao/tiny-pinboard-scripts.git"
version "2022.1"
def install
bin.install "pinboard-delete-unread"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class LinuxUsb < Formula
desc "Facilitate installing Linux on a USB stick, from macOS"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
def install
bin.install "linux-usb"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class LosslessCompress < Formula
desc "Losslessly compress files"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "gifsicle"
depends_on "jpeg"
depends_on "optipng"
def install
bin.install "lossless-compress"
... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class PinboardWaybackmachine < Formula
desc "Add to the Wayback Machine links saved to a pinboard account"
homepage "https://github.com/vitorgalvao/tiny-pinboard-scripts"
url "https://github.com/vitorgalvao/tiny-pinboard-scripts.git"
version "2023.1"
def install
bin.install "pinboard-waybackmachine"
en... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Tape < Formula
desc "Backup and restore software settings on macOS"
homepage "https://github.com/vitorgalvao/tape"
url "https://github.com/vitorgalvao/tape.git", branch: "main"
version "2022.4"
depends_on "ruby"
def install
bin.install "tape"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class PinboardUrlUpdate < Formula
desc "Substitute URLs of pinboard bookmarks"
homepage "https://github.com/vitorgalvao/tiny-pinboard-scripts"
url "https://github.com/vitorgalvao/tiny-pinboard-scripts.git"
version "2022.1"
def install
bin.install "pinboard-url-update"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class AppIconExtract < Formula
desc "Extract app bundle icon as png"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
def install
bin.install "app-icon-extract"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class PinboardLinkCheck < Formula
desc "Check the status code of links saved to a pinboard account"
homepage "https://github.com/vitorgalvao/tiny-pinboard-scripts"
url "https://github.com/vitorgalvao/tiny-pinboard-scripts.git"
version "2022.1"
def install
bin.install "pinboard-link-check"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class Seren < Formula
desc "Rename files in a numerical sequence"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
def install
bin.install "seren"
end
end
| {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
class HumanMediaTime < Formula
desc "Calculate and present total running time of media files in a human-readable way"
homepage "https://github.com/vitorgalvao/tiny-scripts"
url "https://github.com/vitorgalvao/tiny-scripts.git"
version "2022.1"
depends_on "media-info"
def install
bin.install "human-med... | {
"repo_name": "vitorgalvao/homebrew-tiny-scripts",
"stars": "37",
"repo_language": "Ruby",
"file_name": "human-media-time.rb",
"mime_type": "text/x-ruby"
} |
# to-do-notifications
> **NOTE:** This repository has been archived and the content is now maintained as part of the [dom-examples](https://github.com/mdn/dom-examples/) repository.
Enhanced version of the to-do app, which stores to-do items via IndexedDB, and then also aims to provide notifications when to-do item d... | {
"repo_name": "mdn/to-do-notifications",
"stars": "380",
"repo_language": "JavaScript",
"file_name": "style.css",
"mime_type": "text/plain"
} |
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=380">
<script src="scripts/todo.js"></script>
<title>To-do list with Notifications</title>
<!-- Icon originated from design by Sabine Wollender: http://thenounproject.com/wosamo/ -->
<link rel="icon" type="im... | {
"repo_name": "mdn/to-do-notifications",
"stars": "380",
"repo_language": "JavaScript",
"file_name": "style.css",
"mime_type": "text/plain"
} |
to-do-notifications
===================
This is an Enhanced version of my basic to-do app, which stores to-do items via IndexedDB, and then also aims to provide notifications when to-do item deadlines are up, via the Notification and Vibration APIs.
The IndexedDB and Notification API functionality all works on Firefo... | {
"repo_name": "mdn/to-do-notifications",
"stars": "380",
"repo_language": "JavaScript",
"file_name": "style.css",
"mime_type": "text/plain"
} |
window.onload = () => {
const MONTHS = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
// Hold an instance of a db object for us to store the IndexedDB data in
let db;
// Create a reference to the notifications list in the bottom of t... | {
"repo_name": "mdn/to-do-notifications",
"stars": "380",
"repo_language": "JavaScript",
"file_name": "style.css",
"mime_type": "text/plain"
} |
/* Basic set up + sizing for containers */
html,
body {
margin: 0;
}
html {
width: 100%;
height: 100%;
font-size: 10px;
font-family: Georgia, "Times New Roman", Times, serif;
background: #111;
}
body {
width: 50rem;
position: relative;
background: #d88;
margin: 0 auto;
border-left: 2px solid #d... | {
"repo_name": "mdn/to-do-notifications",
"stars": "380",
"repo_language": "JavaScript",
"file_name": "style.css",
"mime_type": "text/plain"
} |
# Como escrever?
Para escrever sua resposta deverá ser no formato Markdown, caso você não conheça **POR FAVOR LEIA** [markdowntutorial.com](http://www.markdowntutorial.com/), pois se você não enviar com a formatação correta para códigos eu não podderei aceitar seu exercício.
# [Grupo do Telegram](https://telegram.me/... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**Autor:** Rafael Crispim Ignácio
**Data:** 1451444633263
## 1. Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function print(name, callback) {
if (typeof name == "string") {
return callb... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [tuchedsf](https://github.com/tuchedsf)
**autor:** Diego Santos Ferreira
**Date:** 1457270740092
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function sayName (name, callback){
if (... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 04 - Exercícios
**user:** [Geriel](https://github.com/geriel)
**autor:** Geriel Castro
## 1. Criar uma função com **uma entrada** para nome e **imprimir** está entrada em uma outra função, como continuação da execução da mesma.
```js
function getNome(name, callback) {
if (typeof name =... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [victorvoid](https://github.com/victorvoid)
**autor:** Victor Igor
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
'use strict'
function printName(name, callback){
if (typeof name... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [hc3](https://github.com/hc3)
**autor:** Eliel das Virgens
**date:** 20/03/2016
##01.Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da mesma.
```
function criaNome(nome,callback){
if (typeof nome === 'string') {
... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**User:** [DouglasHennrich](https://github.com/DouglasHennrich)
**Autor:** Douglas Hennrich
**Date:** 1450670429154
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function sayMyName(name, callback... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**Autor:** Gabriel Kalani
**Data:** 1454213678365
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function name(nome, callback){
if (typeof nome === 'string') {
return callback(null... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [fauker](http://github.com/fauker)
**autor:** LUCAS DA SILVA MOREIRA
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```
function sayMyName(nome, callback) {
if (typeof nome === 'string') {
... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**User:** [daniofilho](https://github.com/daniofilho)
**Autor:** Dânio Filho
**Date:** 1452804479379
# 1. Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
~~~ js
function nome(name, cb){
if(typeof name ... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [airton](https://github.com/airton)<br>
**autor:** Airton Vancin Junior<br>
**date:** 1456328185817
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```js
function sayName (name, callback){
... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 04 - Exercícios
**User:** [ajoao1988](https://github.com/ajoao88)
**Autor:** João Paulo S de Araújo
**Date:** 1456710048954
## 1. Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da mesma.
```js
function imprimirNome(nome,callback){
if (t... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [augustoody](https://github.com/AugustoOdy)
**autor:** Augusto Ody
**date:** 1455192903275
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```js
'use strict';
function sayMyName(name, callback){
... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** https://github.com/paulosilva92
**autor:** Paulo Roberto da Silva
**date:** Sat Mar 05 2016 00:51:06 GMT-0300 (BRT)
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function name(name) {... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 04 - Exercício
autor: Wellerson Roberto
# Exercícios de File System
## 1) Criar um arquivo
```
'use strict';
const fs = require('fs');
fs.writeFile('./novo-arquivo.txt', '', (err) => {
if (err)
console.log(err);
});
```
## 2) Ler um arquivo
```
'use strict';
const fs... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Parte 1 - Exercício
**User:** [angelorubin](https://github.com/angelorubin)
**Autor:** Angelo Rogério Rubin
**Date:** 1451048271400
## Criar uma função com uma entrada para o nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
'use strict';
func... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
# Node.js - Aula 04 - Exercício
**user:** [fernandobd42](https://github.com/fernandobd42)
**autor:** Fernando Lucas
**date:**
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```
const name = (nome, callbac... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [Pauloxt1](https://github.com/Pauloxt1)<br>
**autor:** Paulo Roberto
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
// file: name.js
function setName(name, callback){
callback(name);
}... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 04 - Exercício
**Autor**: Igor luíz
**Github**: [Halfeld](https://github.com/Halfeld)
**Data**: 1457359592117
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
'use strict';
function input(name, callback) {
i... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**Autor:** Ednilson Amaral
**Data:** 1450748289337
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function meuNome(nome, callback){
if (typeof nome === 'string') {
return callbac... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [filipe1309](https://github.com/filipe1309)
**autor:** Filipe Leuch Bonfim
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```js
function readName(name, printCallback) {
if (typeof name == "st... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**User:** [sergiokopplin](https://github.com/sergiokopplin)
**Autor:** Sergiokopplin
**Date:** 1450670429154
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function imprimiNome(name, callback) {
... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**User:** charles7421
**Autor:** Charles de Freitas Garcia
**Date:** 03/04/2016
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function sayMyName(name, callback) {
if (typeof name === 'string')... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [felipelopesrita](https://github.com/felipelopesrita)
**autor:** Felipe José Lopes Rita
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```js
'use strict';
function showName( name, callback ) {
i... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**User:** [matheusjkweber](https://github.com/matheusjkweber)
**Autor:** Matheus José Krumenauer Weber
**Date:** 1456691485032
## Criar uma função com uma entrada para o nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
function sayNam... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [diegolopesdev](http://www.github.com/diegolopesdev)
**autor:** Diego Lopes do Nascimento
## Exercícios de File System
## Criar um arquivo.
```
'use strict';
const fs = require('fs');
fs.writeFile('ola-mundo.txt', 'É o meu primeiro Olá Mundo.', (err) => {
if(err) throw... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**user:** [FranciscoValerio](https://github.com/FranciscoValerio)
**autor:** Francisco Henrique Ruiz Valério
## 1. Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
var fileSytem = require('fs');
function say... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
autor: Bruno Lima da Silva
## 1. Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma.
```js
'use strict';
function callback (err, result) {
if (err) throw new Error (err);
console.log ('Meu nome é ', result);
... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 04.01 - Exercícios
**User:** [carloshenriqueribeiro](https://github.com/carloshenriqueribeiro)
**Autor:** Carlos Henrique Ribeiro
**Date:** 1501763351107
## 1. Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da mesma.
```js
function imprimir... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
#NodeJS - Aula 04 - Exercícios
autor: Dariano Soares
##1. Criar uma função com **uma entrada** para nome e **imprimir** está entrada em uma outra função, como continuação da execução da mesma.
```js
function imprimirNome(nome, callback) {
if (typeof nome === 'string') {
callback(null, nome);
} else {
var e... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 04 - Exercício
**User:** [Cerezini](https://github.com/Cerezini)
**Autor:** Mateus Cerezini Gomes
## Criar uma função com uma entrada para nome e imprimir esta entrada em uma outra função, como continuação da execução da mesma
```js
function printName(name, callback) {
if (typeof name == 's... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 01 - Exercício
####Robson Fagundes - [http://robsonfagundes.github.io](robsonfagundes.github.io) - robsonfagundes@gmail.com
## 1. Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Node é uma aplicação single threaded, mas suporta a simultaneidade via conceito de ... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [PabloDinella](https://github.com/PabloDinella/)
**autor:** Pablo Rocha Dinella
**date:** 1453989977071
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Um processo síncrono é quando um conjunto de tarefas (funções) são chamadas e s... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [carlosmachel](https://github.com/carlosmachel)
**autor:** Carlos Machel
**date:** 1457839126351
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Um processo `assíncrono` no Nodejs é baseado em eventos. a função é chamada junto co... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# NodeJS - Aula 01 - Exercício #
**User**: [daniofilho](https://github.com/daniofilho)
**Autor**: Dânio Aparecido Mendonça Filho
**Data**: 1450704879520
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada. ##
Um processo síncrono dentro do Node bloqueia a execução de qualque... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [pedrohills](http://github.com/pedrohills)
**autor:** Pedro Henrique
**date:** 1454517126551
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
R- Um processo síncrono no NodeJS segue como um garçom de um restaurante que está atendend... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [gkal19](https://github.com/gkal19)
**autor:** Gabriel Kalani
**date:** 1454162282817
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
**Processo síncrono** é executado apenas uma função por vez e em um **processo assíncrono**, é pos... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** https://github.com/maurienefirmino
**autor:** Mauriene Firmino do Nascimento Júnior
**date:** Qua Ago 31 10:50:54 BRT 2016
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Síncrono:
Cada processo requisitado entra em uma fila, e o p... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [lucasduarte](https://github.com/lucasduarte/)
**autor:** Lucas Duarte Anício
**date:** 1457312116944
## **Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.**
No Node.js por padrão todos os processão são assíncronos. Quando ele depende d... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [joseasousa](https://github.com/joseasousa/)
**autor:** Jose Alves De Sousa Neto
## 1- Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Processos síncronos são processos que executam um passo por vez, um processo só ira começar assi... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [xereda](https://github.com/xereda)
**autor:** Jackson Ricardo Schroeder
**date:** 1464838528755
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Um processo **síncrono** sofre execução linear e logicamente sequencial, sendo que a p... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
# Node.js - Aula 01 - Exercício
**user:** [Zowder](https://github.com/Zowder)
**autor:** Emídio de Paiva Neto
**date:** 1450035612253
## Explique como um processo síncrono e assíncrono roda no Node.js, dê um exemplo para cada.
Vamos supor que você tem 1000 conexões ao vivo, e um pacote é entrego a cada milissegundo, ... | {
"repo_name": "Webschool-io/be-mean-instagram-nodejs-exercises",
"stars": "33",
"repo_language": "JavaScript",
"file_name": "index.jade",
"mime_type": "text/plain"
} |
Public Domain GitHub Repositories Dataset
This dataset contains metadata and source code of 9,000 public domain (cc0 or unlicense) licensed GitHub repositories that have more than 25 stars. The dataset was created by scraping the GitHub API and downloading the repositories, so long as they are under 100mb. The dataset can be used for various natural language processing and software engineering tasks, such as code summarization, code generation, code search, code analysis, etc.
Dataset Summary
- Number of repositories: 9,000
- Size: 2.4 GB (compressed)
- Languages: Python, JavaScript, Java, C#, C++, Ruby, PHP, Go, Swift, and Rust
- License: Public Domain (cc0 or unlicense)
Dataset License
This dataset is released under the Public Domain (cc0 or unlicense) license. The original repositories are also licensed under the Public Domain (cc0 or unlicense) license. You can use this dataset for any purpose without any restrictions.
Reproducing this dataset
This dataset was produced by modifiying the "github-downloader" from EleutherAI. You can access our fork on our GitHub page Replication steps are included in it's readme there.
- Downloads last month
- 282