Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- โ : Command key
- โ : Control key
- โซ : Delete key
- โ : Left arrow key
- โ : Right arrow key
- โ : Up arrow key
# Quick 'n' dirty script to export snippets from GitLab to local files. Useful if you're | |
# migrating to GitHub or just want to back up your snippets as files. Doesn't catch errors | |
# or anything like that, but what were you expecting for a Gist? :-) Also, this will only | |
# export snippets that are visible to you, so other users' private snippets are excluded. | |
# Tested with GitLab v8.5.1 | |
$username = "username" # Your username goes here | |
$password = "password" # Your password goes here | |
$baseURL = "https://your.gitlab.base.url" # Your GitLab base URL goes here |
function scrapeGoogle() { | |
var searchResults=UrlFetchApp.fetch("https://www.google.co.uk/search?q="+encodeURIComponent("keyword finder tool")+"&num=30",{muteHttpExceptions:true}); | |
var titleExp=/<h3 class=\"r\">([\s\S]*?)<\/h3>/gi; | |
var urlExpression=/<h3 class=\"r\">([\s\S]*?)\&\;/gi; | |
var titleResults=searchResults.getContentText().match(titleExp); |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
<?php | |
if ( ! function_exists('config_path')) | |
{ | |
/** | |
* Get the configuration path. | |
* | |
* @param string $path | |
* @return string | |
*/ |
<?php | |
namespace App\Http\Controllers; | |
use Validator; | |
use App\User; | |
use Firebase\JWT\JWT; | |
use Illuminate\Http\Request; | |
use Firebase\JWT\ExpiredException; | |
use Illuminate\Support\Facades\Hash; |
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'ร land Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
- Inexplicable perversity of human nature.
- The clever machinations of MongoDB's marketing people.
- The AGPL license killed it.
- We spent too long development before monetizing.
- Bad performance.
- Numeric types limited to a 64-bit `float`.
- Great product, but didn't/couldn't translate to revenue.
- Bad business model.
- Failure in timezones/timestamp nuances.
#!/usr/bin/env python | |
# encoding: utf-8 | |
import tweepy #https://github.com/tweepy/tweepy | |
import csv | |
#Twitter API credentials | |
consumer_key = "" | |
consumer_secret = "" | |
access_key = "" |
#!/bin/bash | |
# If it redirects to http://www.facebook.com/login.php at the end, wait a few minutes and try again | |
EMAIL='YOUR_EMAIL' # edit this | |
PASS='YOUR_PASSWORD' # edit this | |
COOKIES='cookies.txt' | |
USER_AGENT='Firefox/3.5' |