Save $25 for your Cloud Computing Solution with Digital Ocean.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* This is Voost's own custom version of the handlebars compiler which walks | |
* the whole tree and compiles all the files. It supports a directory | |
* structure and creates the output files in the same structure. | |
*/ | |
var optimist = require('optimist') | |
.usage('Precompile handlebar templates.\nUsage: $0 template...', { | |
'f': { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* This is Voost's own custom version of the handlebars compiler which walks | |
* the whole tree and compiles all the files. It supports a directory | |
* structure and creates the output files in the same structure. | |
*/ | |
var optimist = require('optimist') | |
.usage('Precompile handlebar templates.\nUsage: $0 template...', { | |
'f': { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.remoteapi.bug; | |
import com.google.appengine.api.datastore.*; | |
import com.google.appengine.api.taskqueue.Queue; | |
import com.google.appengine.api.taskqueue.QueueFactory; | |
import com.google.appengine.api.taskqueue.TaskOptions; | |
import com.google.appengine.tools.remoteapi.RemoteApiInstaller; | |
import com.google.appengine.tools.remoteapi.RemoteApiOptions; | |
import java.io.IOException; |
I hereby claim:
- I am lookfirst on github.
- I am latchkey (https://keybase.io/latchkey) on keybase.
- I have a public key ASAir9hZcjq-KxG3ogHhrxBAONZ4M2FXNDnoogKeRpBA3wo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "jonstevens.id" is my Blockstack ID. https://onename.com/jonstevens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var names = []; // add your names to the array however you want | |
var password = '123123'; | |
var psselector = "input[name='ps']"; | |
var ps = $(psselector).val(); | |
console.log(ps); | |
var posts = []; | |
names.forEach((name) => { | |
var username = name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Crypto pricing for Google Sheets. Caches values for 10 minutes. | |
* | |
* Tools -> Script editor, paste this in. | |
* Create and populate the API key below. | |
* | |
* https://www.cryptocompare.com/coins/guides/how-to-use-our-api/ | |
*/ | |
var CC_API_KEY=""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {useContext, createContext} from "react"; | |
import {Schema} from "yup"; | |
export const SchemaContext = createContext<Schema<any> | undefined>(undefined); | |
interface SchemaProviderProps<T> { | |
value: Schema<T>, | |
children: React.ReactNode | React.ReactNode[], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export SSHPASS="1" | |
sshpass -e ssh -o "UserKnownHostsFile=/dev/null" -o StrictHostKeychecking=no -o LogLevel=ERROR user@$1 \ | |
"echo $SSHPASS | sudo -S bash -c 'echo \"user ALL=(ALL) NOPASSWD:ALL\" > /etc/sudoers.d/00-user_nopasswd' 2> /dev/null" |