Skip to content

Instantly share code, notes, and snippets.

View vmariano's full-sized avatar
:shipit:
ATR coding.

Mariano Vicente vmariano

:shipit:
ATR coding.
  • Buenos aires, Argentina
View GitHub Profile
@Uko
Uko / completion.st
Last active December 29, 2015 12:48
My prefs for pharo. Files should reside in ~/Library/Preferences/pharo/
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Code completion setings'
code: [
NECPreferences
enabled: true;
popupShowAutomatic: true;
useController: NECController;
popupShowWithShortcut: Character space shift ]
runOnce: true
@ksafranski
ksafranski / SimpleStore.js
Last active July 2, 2022 15:25
Simple localStorage function with Cookie fallback for older browsers.
/**
* Simple localStorage with Cookie Fallback
* v.1.0.0
*
* USAGE:
* ----------------------------------------
* Set New / Modify:
* store('my_key', 'some_value');
*
* Retrieve:
#!/bin/bash
IFS=$'\n'
for file in `ls -1 *.[jJ][pP][gG] *.[tT][hH][mM] *.[mM][pP][gG] 2>/dev/null`;
do
# Creo el directorio fecha YYYY_MM_DD
fecha=`date -r "$file" +%Y_%m_%d`
# Crear directorio sin error en caso de que exista