I hereby claim:
- I am abass on github.
- I am abass (https://keybase.io/abass) on keybase.
- I have a public key whose fingerprint is 0446 AC0E 0DC9 EEB3 1415 3E14 4664 EDB2 8066 6955
To claim this, I am signing this object:
| { | |
| const getNodes = zap => { | |
| let nodes = []; | |
| for (let nodeId in zap.nodes) { | |
| const node = zap.nodes[nodeId]; | |
| nodes.push(node); | |
| } | |
| return nodes; | |
| }; |
| #!/bin/sh | |
| git checkout production && git add -A && git commit -m "Automatic Backup @ `date`" && git push |
| form_fields = { "fname": firstName, "lname": lastName, "title": title, ... rest of form fields to go to spreadsheet} | |
| url = "https://script.google.com/macros/s/[your spreadsheet key]/exec" | |
| form_data = urllib.urlencode(form_fields, doseq=True) | |
| result = urlfetch.fetch(url=url, payload=form_data, follow_redirects=True,method=urlfetch.POST, | |
| headers={'Content-Type': 'application/x-www-form-urlencoded'}) |
| function Initialize() { | |
| var triggers = ScriptApp.getProjectTriggers(); | |
| for(var i in triggers) { | |
| ScriptApp.deleteTrigger(triggers[i]); | |
| } | |
| ScriptApp.newTrigger("SendGoogleForm") | |
| .forSpreadsheet(SpreadsheetApp.getActiveSpreadsheet()) |
I hereby claim:
To claim this, I am signing this object:
| $(window).on('scroll', function() { | |
| $('.one').parallax(0.5); | |
| $('.two').parallax(0.6); | |
| $('.three').parallax(0.2); | |
| }); |
| function read_time($text){ | |
| $words = str_word_count(strip_tags($text)); | |
| $min = floor($words / 200); | |
| if($min === 0){ | |
| return 'min read'; | |
| } | |
| return $min . 'min read'; | |
| } |
| .element { | |
| position: relative; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| } |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |