Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
import os, io | |
import webbrowser | |
import urllib2 | |
inputFileName = './youtube-video-list.txt' | |
def ReadMultipleDataFrom(thisTextFile, thisPattern): | |
inputData = [] | |
file = open(thisTextFile, "r") | |
for iLine in file: |
(function() { | |
function exifDate(U) { | |
var X = !window.XMLHttpRequest ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest; | |
X.open('GET', U, false); | |
try{ X.send();}catch(y){} | |
var dt=X.getResponseHeader("Last-Modified"); | |
return new Date(dt).toISOString().slice(0,10).replace(/-/g,"-"); | |
} | |
$("img:not(.pull-right)").map(function(i, img){ | |
$(img).parent().append("<span>Feltöltve: " + exifDate(img.src) + "</span>") |
package main | |
import ( | |
"crypto/tls" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"regexp" |
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"net/http" | |
"time" | |
) |
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
/* | |
challenge=18 | |
Transported 430 | |
Elapsed time 299s | |
Transported/s 1.44 | |
Avg waiting time 12.6s | |
Max waiting time 34.0s | |
Moves 2798 |
function Player(id, name) { | |
this.id = id; | |
this.name = name; | |
this.hp = 100; | |
return this; | |
} | |
Player.prototype.attack = function(type) | |
{ | |
gameLogic.attack(this, type); |