CapsLock is RCTRL ... i do this on all keyboards
FN CapsLock is RCTRL ... was accidently toggling capslock with fn+capslock
LCTRL is FN ... arrow/pg/home on right half, FN+arrow I now prefer on ALL keyboards... so nice
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
# db/migrate/filename.rb | |
# generate with >> rails g model image alt:string hint:string file:string | |
class CreateImages < ActiveRecord::Migration[5.0] | |
def change | |
create_table :images do |t| | |
t.string :alt | |
t.string :hint | |
t.string :file |
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
{"lastUpload":"2019-01-08T16:02:56.632Z","extensionVersion":"v3.2.4"} |
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
$ -> | |
$.rails.allowAction = (link) -> | |
return true unless link.attr("data-confirm") | |
$.rails.showConfirmDialog link | |
false | |
$.rails.confirmed = (link) -> | |
link.removeAttr "data-confirm" | |
link.trigger "click.rails" |
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
Intern$ ls ~/.cocoapods/repos/master/Specs/ | |
1PasswordExtension | |
1PasswordExtensionHaha | |
25519 | |
320Categories | |
500px-iOS-api | |
7blur | |
A | |
A2DynamicDelegate | |
A2StoryboardSegueContext |
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
require "csv" | |
require "insta_scrape" | |
def appendRowToCsv(row) | |
CSV.open("instagram_posts.csv", "a+",) do |csv| | |
csv << row | |
end | |
end | |
# create headers |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css"> | |
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet" type="text/css"> | |
<title></title> | |
</head> | |
<body> | |
<div> | |
<div id="wrapper" style="width: 100%; position: absolute; top: 0; background-image: url('https://s3.amazonaws.com/myfangate.com/vydiaemail/repeatingbg.jpg'); background-repeat: repeat; overflow-x: hidden;"> |
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
/* This work is licensed under Creative Commons GNU LGPL License. | |
License: http://creativecommons.org/licenses/LGPL/2.1/ | |
Version: 0.9 | |
Author: Stefan Goessner/2006 | |
Web: http://goessner.net/ | |
*/ | |
function xml2json(xml, tab) { | |
var X = { | |
toObj: function(xml) { |
#Permanent alias
In terminal run the following (pick your poison, editors are separated by the 'or' operator):
nano ~/.bash_profile
|| subl ~/.bash_profile
|| atom ~/.bash_profile
Add the following line to your .bash_profile
but change goto_sites
and the path to your own:
NewerOlder