Skip to content

Instantly share code, notes, and snippets.

View ragingbal's full-sized avatar

Balaji Bal ragingbal

View GitHub Profile

Get UDID Using a Simple Website (for macOS, Windows, or directly from iPhone)

There are websites that allow you to find your UDID easily without needing to connect your iPhone to a computer.

Follow these steps: Open Safari on your iPhone and go to https://get.udid.io

Follow the on-screen instructions:

  • You'll be asked to install a simple configuration profile on your device (this is safe and temporary).
  • Go to Settings > General > VPN & Device Management and install the profile.
@ragingbal
ragingbal / index.html
Created May 21, 2022 08:25
Node Editor UI
<svg id="svg">
</svg>
---
commands:
- command:
name: create
description: some descriptions
parent_comand: root
options:
- option:
name: pods
description: get pods
sudo install cmake

wget https://github.com/google/leveldb/archive/1.23.tar.gz leveldb.tar.gz
tar -zxvf 1.23.tar.gz
cd leveldb-1.23
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build .
mc cp $(ls file_abc*) dev/dropzone/ #copy multiple files
CREATE TABLE testjoins.yt_sample_mapping_1(
`col1` string,
`col2` string,
`col3` string)
ROW FORMAT SERDE "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"
WITH SERDEPROPERTIES ( "separatorChar" = ",",
"quoteChar" = "\"",
"escapeChar" = "\\",
"serialization.encoding"='ISO-8859-1')
TBLPROPERTIES ( 'store.charset'='ISO-8859-1',
import sys, getopt
def main(argv):
inputfile = ''
outputfile = ''
try:
opts, args = getopt.getopt(argv,"hi:o:",["ifile=","ofile="])
except getopt.GetoptError:
print 'test.py -i <inputfile> -o <outputfile>'
sys.exit(2)
<html>
<head></head>
<body>
<p>Salut!</p>
<p>Cela ressemble à un excellent
<a href="https://avatars2.githubusercontent.com/u/12369308?s=400&u=7c0e00191e1f05956619417b8c2b3c1cf0bdd906&v=4">
recipie
</a> déjeuner.
</p>
<img src="https://avatars2.githubusercontent.com/u/12369308?s=400&u=7c0e00191e1f05956619417b8c2b3c1cf0bdd906&v=4" />
import smtplib
from email.message import EmailMessage
from email.headerregistry import Address
from email.utils import make_msgid
import jinja2
msg = EmailMessage()
kubectl get pods -n default --no-headers=true | awk '/web-app/{print $1}'| xargs kubectl delete -n default pod