svn checkout URL svn co URL
svn up
@echo off | |
REM Reference: http://www.techrepublic.com/forum/questions/101-215911/dos-command-to-list-all-installed-programs | |
echo ================= >>software_list.txt | |
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp1.txt | |
find "DisplayName" temp1.txt| find /V "ParentDisplayName" > temp2.txt | |
for /f "tokens=2,3 delims==" %%a in (temp2.txt) do (echo %%a >> software_list.txt) | |
del temp1.txt | |
del temp2.txt | |
REM type software_list.txt | more | |
echo. |
if (location == "chrome://messenger/content/messenger.xul") { | |
/* Aggiungo l'accel text nella voce di menu */ | |
document.getElementById('viewWatchedThreadsWithUnreadMenuItem').setAttribute('acceltext', 'Maiusc+W'); | |
/* Seleziono il main keyset dove sono inserite le scorciatoie da tastiera */ | |
let ks = document.getElementById('mailKeys'); | |
/* Creo una nuova chiave */ | |
let nk = document.createElement('key'); | |
nk.setAttribute('id', 'key_viewwatchedthreadwithunread'); | |
nk.setAttribute('modifiers','shift'); | |
nk.setAttribute('keycode', 'w'); |
import re | |
def elff(filename): | |
f = open(filename, "r") | |
s=f.read() | |
f.close() | |
regex = re.compile(r'"(http[^"]*)"') | |
links = regex.findall(s) | |
return links | |
def savefile(filename, s): |
/* | |
This is the implementation in JS of the Vigenere cypher to solve EFF puzzle: | |
https://www.eff.org/deeplinks/2014/08/effs-defcon-22-t-shirt-puzzle-explained | |
*/ | |
String.prototype.charOrdinalCodeAt = function(pos){ | |
/* | |
This function returns this values: | |
* -1 if the character at position pos is not a letter; | |
* if the character at position pos is a letter it returns the positional value in alphabet, for lower case letter it returns its positional value + 26, for example: |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/