Skip to content

Instantly share code, notes, and snippets.

@maran
maran / Apple_mobile_device_types.txt
Created March 25, 2024 10:00 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
======================
Proton: 1660576899 proton-7.0-4
SteamGameId: 1026680
Command: ['/home/deck/.local/share/Steam/steamapps/common/FINAL FANTASY VIII Remastered/FFVIII_LAUNCHER.exe']
Options: {'forcelgadd'}
depot: 0.20220804.66
pressure-vessel: 0.20220803.0
scripts: v0.20220803.0-0-gbca628e
soldier: 0.20220803.0 soldier 0.20220803.0
Kernel: Linux 5.13.0-valve21.1-1-neptune-02211-gc54cda5a36f3 #1 SMP PREEMPT Mon, 08 Aug 2022 22:27:56 +0000 x86_64
Computer Information:
Manufacturer: Valve
Model: Jupiter
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Custom APU 0405
CPU Family: 0x17
### Keybase proof
I hereby claim:
* I am maran on github.
* I am animazing (https://keybase.io/animazing) on keybase.
* I have a public key ASCLo4TZGGFCx_JBRCRmogwCt46OhdMmdIAKDUSWVQazMQo
To claim this, I am signing this object:
@maran
maran / gist:dc50de67832ad390013f30943a065fac
Created November 22, 2017 14:24
0x00f080E5cC01327c7e7F7688471f5Bcff76a9Fd1
0x00f080E5cC01327c7e7F7688471f5Bcff76a9Fd1
#!/bin/bash
# @date: 2014-01-10
# @author: Xendarboh Sensorii <xen@shastafareye.net>
#
# This script will:
# 1) install system dependencies based on the Linux flavor (~Debian or Fedora)
# 2) install a custom-compiled openssl into $MYUSR_PREFIX (see config below)
# 3) install rvm and ruby
# 4) install mastercoin-wallet
#
#!/bin/bash
if grep 'Ubuntu\|Debian' /etc/issue; then
echo "Debian based distro detected; installing RVM"
sudo apt-get install -y libqt4-gui libqt4-dev cmake libssl-dev libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
elif grep 'Fedora' /etc/issue; then
echo "Fedora detected, not installing RVM"
sudo yum install -y gcc-c++ qt-devel cmake ruby-devel rubygems qtwebkit-devel qtwebkit
@maran
maran / gist:3005828
Created June 27, 2012 18:20
hack it
#!/usr/bin/env bash
# echo "65536 * 3 + 256 * 2 + 25" | bc
if [[ -n "${BASH_VERSION:-}" ]] &&
(( 65536 * ${BASH_VERSINFO[0]} + 256 * ${BASH_VERSINFO[1]} + ${BASH_VERSINFO[2]} < 197145 ))
then
echo "BASH 3.2.25 required (you have $BASH_VERSION)"
exit 1
fi
@maran
maran / rollback.sh
Created September 1, 2011 15:20
Rollback to 1.3.2
#!/bin/bash
wget http://git.deluge-torrent.org/deluge/snapshot/deluge-1.3.2.tar.gz
tar -zxvf deluge-1.3.2.tar.gz
virtualenv ~/deluge
source ~/deluge/bin/activate
cd ~/deluge-1.3.2
sed -ibackup s/-dev// setup.cfg
python setup.py clean -a
python setup.py build
python setup.py install
@maran
maran / _rounded.sass
Created July 23, 2011 20:28
rounded corners
@mixin rounded-corner($radius: 5px)
-moz-border-radius: $radius
-webkit-border-radius: $radius
border-radius: $radius
@mixin rounded-top-left-corner($radius: 5px)
-moz-border-radius-topleft: $radius
-webkit-border-top-left-radius: $radius
border-top-left-radius: $radius