Skip to content

Instantly share code, notes, and snippets.

View FredericJacobs's full-sized avatar
🔐
Encrypt the Planet 🌍

Frederic Jacobs FredericJacobs

🔐
Encrypt the Planet 🌍
View GitHub Profile
@FredericJacobs
FredericJacobs / gist:8884691
Last active August 29, 2015 13:56
Simple sideloading of Glassware on a Mac

For easy install of the Android tools, we are going to use Homebrew. Homebrew is a package manager for the Mac that will make your life awesome if you need to install software from source. Installation is easily done by copy-pasting the following line in your terminal.

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

If the installation is sucessful, you should now be able to run the following command to install the Android tools.

brew install android-sdk
var kue = require('kue'),
jobs = kue.createQueue(),
util = require('util'),
noop = function() {};
jobs.CLEANUP_MAX_FAILED_TIME = 30 * 24 * 60 * 60 * 1000; // 30 days
jobs.CLEANUP_MAX_ACTIVE_TIME = 1 * 24 * 60 * 60 * 1000; // 1 day
jobs.CLEANUP_MAX_COMPLETE_TIME = 5 * 24 * 60 * 60 * 1000; // 5 days
jobs.CLEANUP_INTERVAL = 5 * 60 * 1000; // 5 minutes
-(std::string *) objcDataToCppString:(NSData*)objcData {
return new std::string([objcData bytes], [objcData length]);
}
-(NSData*) cppStringToObjcData:(const std::string)cppString {
return [NSData dataWithBytes:cppString.c_str() length:cppString.size()];
}
(English version below)
Chers collègues,
Si vous utilisez un ordinateur Mac, vous êtes priés de lire attentivement ce qui suit.
Comme vous l'avez sans doute lu dans la presse, la dernière version d'Apple OS X "Mavericks" (10.9 et 10.9.1) présente une faille majeure dans la vérification de l'authenticité des sites et serveurs distants, ce qui signifie que des pirates pourraient usurper des sites Web, des serveurs mail, des points d'entrée VPN, etc. ou espionner le trafic entre votre Mac et des sites externes.
En attendant qu'Apple ne publie un correctif, nous vous recommandons d'utiliser un autre navigateur que Safari pour vos activités Web (tel que Firefox, Opera ou Chrome, qui ne présentent pas la faille de sécurité) ainsi que de consulter votre boîte aux lettres par Webmail, sans utiliser l'application "Apple Mail" et enfin d'éviter de vous connecter au réseau dans des zones publiques.
APPLE-SA-2014-02-25-1 OS X Mavericks 10.9.2 and Security Update
2014-001
OS X Mavericks 10.9.2 and Security Update 2014-001 is now available
and addresses the following:
Apache
Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5,
OS X Mountain Lion v10.8.5, OS X Mavericks 10.9 and 10.9.1
Impact: Multiple vulnerabilities in Apache
You can use any source at your disposal (i.e., Google is your friend), but you have to acknowledge everything that you use and you need to write it up in your own words. (This will not lower your grade.);
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
hQIMA9c4HVnfN+85AQ//X7/C6wAPgnVkDlSIgaZTqvrOFOv00coTys0IXfWbrr5M
OLfj11OL+aeglKNKuVG6VJUueov9EjxAUWwmg38PgwKf8Hr1b6I7d0ukf01F3It0
33lxdi79/m7t0ETvVKA8xEefqcEeD3zG8wynEbiKY0Ld63hHTBb3+uXbYn4H9l8d
1eW7C0v8N/blTl8IbIez17m/W47Ti+c7g5gBuzfcHnHo07f8/sGHLmuZp17tlo9P
okLti+gSz/cpAuOchLdTCjzul0RX9QdYN6isGKfUhN1bBnY35rOP9FFugGf0T6AU
B39gh5k7jPnXSSL+nOfmCCVqtMJN5O8K3m3Z+eVcQqzfhnkPcOhy0nPBefTxrlxk
EaJJQX+w4yCuJoDNND4qvLnK8JvzCIP0t1PXiMu3l5CGWnzu7lfK77rby7WU7y6F
### Keybase proof
I hereby claim:
* I am FredericJacobs on github.
* I am fj (https://keybase.io/fj) on keybase.
* I have a public key whose fingerprint is 469C 16AB 590A 2667 2BF1 5CF6 6FA1 6789 B593 EF91
To claim this, I am signing this object:
@FredericJacobs
FredericJacobs / gist:9471582
Created March 10, 2014 18:48
iOS 7.1 Security Patches
iOS 7.1 is now available and addresses the following:
Backup
Available for: iPhone 4 and later,
iPod touch (5th generation) and later, iPad 2 and later
Impact: A maliciously crafted backup can alter the filesystem
Description: A symbolic link in a backup would be restored, allowing
subsequent operations during the restore to write to the rest of the
filesystem. This issue was addressed by checking for symbolic links
during the restore process.
Cher utilisateur
Quelqu'un a récemment utilisé votre mot de passe pour essayer de vous connecter à votre compte epfl.ch -
Nous avons empêché le signe en tentative en cas c'était un pirate essayant d'accéder à votre compte. S'il vous plaît examiner les détails de la tentative d'ouverture de session:
Monday, 11 Mars, 2014 00:47:44 UTC
Adresse IP: 50.196.106.233 (. 50-196-106-233-static.hfc.comcastbusiness.net)
Lieu: Floride, USA
Si vous ne reconnaissez pas cette tentative Connectez-vous, quelqu'un d'autre pourrait être d'essayer d'accéder à votre compte. Vous devriez vérifier votre identité en cliquant
sur le lien ci-dessous