Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Script: my-pi-temp.sh
# Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
# Author: Vivek Gite <www.cyberciti.biz> under GPL v2.x+
# -------------------------------------------------------
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)"
echo "CPU => $((cpu/1000))'C"
@matteyeux
matteyeux / Credits.md
Last active November 10, 2016 20:27
TermHere 1.2

Remerciements:

Terminal toolbar icon est sous license SIL Open Font License, version 1.1.

Si cette app vous est utile, s'il vous plait pensez à faire un don au developpeur pour le remercier. Faire un don

/*gcc get_netmask_suffix.c -o get_netmask_suffix*/
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
int main(int argc, char *argv[]){
int n, i=0;
#!/bin/bash
if [[ $(uname) != 'Linux' ]]; then
echo "This script is only for Linux Distros"
exit 1
fi
sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev \
libreadline6-dev readline-common libreadline6 \
libreadline-dev texinfo cmake git-core build-essential \
texinfo libreadline-dev libssl-dev libusb-1.0-0-dev libpng12-dev \
libusb-dev autoconf automake libnewlib-dev git
#!/bin/bash
mkdir temp
cd temp
wget http://api.tihmstar.net/builds/futurerestore/futurerestore-latest.zip
unzip futurerestore-latest.zip
cp futurerestore_linux futurerestore
chmod +x futurerestore
sudo cp futurerestore /usr/local/bin
cd ..
rm -rf temp
http://appldnld.apple.com/ios11.0/091-31329-201700919-35AC292C-9027-11E7-8C48-1D35B64D2808/iPhone10,6_11.0_15A372_Restore.ipsw
void cool_delay(int timeinms){
if (bitRead (TIFR2, 0) == 1)
{
TCNT2 = 9;
bitSet (TIFR2, TOV2);
if (++varCompteur == 12)
{
varCompteur = 0;
ledon;
Reading 40 bytes:
Reading at malicious_x = 0xfffffffffffffeb6... Success: 0x54=’T’ score=19 (second best: 0x02 score=7)
Reading at malicious_x = 0xfffffffffffffeb7... Unclear: 0x68=’h’ score=998 (second best: 0x02 score=917)
Reading at malicious_x = 0xfffffffffffffeb8... Unclear: 0x65=’e’ score=999 (second best: 0x02 score=696)
Reading at malicious_x = 0xfffffffffffffeb9... Success: 0x20=’ ’ score=2
Reading at malicious_x = 0xfffffffffffffeba... Unclear: 0x4D=’M’ score=996 (second best: 0x02 score=926)
Reading at malicious_x = 0xfffffffffffffebb... Success: 0x02=’▒’ score=13 (second best: 0x61 score=4)
Reading at malicious_x = 0xfffffffffffffebc... Unclear: 0x67=’g’ score=998 (second best: 0x02 score=912)
Reading at malicious_x = 0xfffffffffffffebd... Unclear: 0x69=’i’ score=995 (second best: 0x02 score=922)
Reading at malicious_x = 0xfffffffffffffebe... Unclear: 0x63=’c’ score=999 (second best: 0x02 score=930)
@matteyeux
matteyeux / Alerts.strings
Last active January 8, 2018 18:14
TypeStatus Plus 1.4
<!-- Explanation of the alert type setting. -->
<key>ALERT_TYPE_EXPLANATION</key>
<string>S'applique uniquement aux notifications prévues pour TypeStatus Plus.</string>
<!-- Explanation of the above setting. -->
<key>WAKE_WHEN_LOCKED_EXPLANATION</key>
<string>Allume l'écran lorsque vous recevez une notification de TypeStatus lorsque celui-ci est verrouillé.</string>
<!-- Option to use the respective app icon. -->
<key>ICON</key>
  • créer une box vagrant
  • trouver la private_key
  • "load private_key" dans Puttygen
  • sauvegarder la private key

putty : ssh -> auth -> selectionner private key