Skip to content

Instantly share code, notes, and snippets.

View KrisKodira's full-sized avatar
💻
planning the next big step

Kris KrisKodira

💻
planning the next big step
View GitHub Profile
@KrisKodira
KrisKodira / phone.sh
Created December 23, 2018 19:27
Android Phone Backupscript
#!/bin/bash
{
echo "Started phone backup at " $(date) >> /home/kris/scripts/backup/phone-backup-log.txt
backupFolder=phone_$(date +%d_%m_%Y)
mkdir /home/kris/backups/$backupFolder
cd /home/kris/backups
adb pull /sdcard/DCIM/Camera $backupFolder
adb pull /sdcard/Documents $backupFolder
adb pull /sdcard/Pictures $backupFolder
zip -r $backupFolder.zip $backupFolder
@KrisKodira
KrisKodira / backup.sh
Last active December 23, 2018 19:01
Simple Linux Backupscript
#!/bin/sh
sleep 2
backupFunction(){
cd /home/kris/backupdrive
if [ $(find pc_* -mtime +30 -print) ]
then

#Codevember #6 Storm

I reuploaded this one since my fork didnt get recognized for codevember.

Here you can see a cloud flying by and pouring rain all over my Avatar. Some functions were made by kittykatattack. https://github.com/kittykatattack/learningPixi

@KrisKodira
KrisKodira / codevember-day-5-sword.markdown
Created March 4, 2018 20:21
#Codevember day #5 Sword