Skip to content

Instantly share code, notes, and snippets.

View klich3's full-sized avatar
🖐️

Anton Sychev klich3

🖐️
View GitHub Profile
@klich3
klich3 / How to setup GPG for git.md
Created August 8, 2024 19:19 — forked from johnwgillis/How to setup GPG for git.md
How to setup GPG for signing commits with Git, SourceTree, and GitHub on Mac

How to setup GPG for signing commits with Git, SourceTree, and GitHub on Mac

  1. Install GPG tools
    1. Install GPG tools and setup pin entry by running:
    brew install gnupg pinentry-mac
    mkdir -m 700 -p ~/.gnupg
    echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
    killall gpg-agent
    
@klich3
klich3 / _deobfuscating-unminifying-obfuscated-web-app-code.md
Created August 5, 2024 18:59 — forked from 0xdevalias/_deobfuscating-unminifying-obfuscated-web-app-code.md
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@klich3
klich3 / reverse-engineering-webpack-apps.md
Created August 5, 2024 18:23 — forked from 0xdevalias/reverse-engineering-webpack-apps.md
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@klich3
klich3 / Organization json-ld
Created February 20, 2020 10:14 — forked from cjzopen/Organization json-ld
Organization json-ld example
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [{
"@type": "Organization",
"@id": "https://www.example.com/#organization",
"name": "{{ your name }}",
"url": "https://www.example.com/",
"address": "{{ address }}",
"email": "{{ email }}",
@klich3
klich3 / baseConverter.js
Created August 26, 2019 11:59 — forked from faisalman/baseConverter.js
Convert From/To Binary/Decimal/Hexadecimal in JavaScript
/**
* Convert From/To Binary/Decimal/Hexadecimal in JavaScript
* https://gist.github.com/faisalman
*
* Copyright 2012-2015, Faisalman <[email protected]>
* Licensed under The MIT License
* http://www.opensource.org/licenses/mit-license
*/
(function(){
@klich3
klich3 / highsierra_bootable.sh
Created March 13, 2018 12:11 — forked from agentsim/highsierra_bootable.sh
Create bootable ISO from HighSierra Installer
# Generate a BaseSystem.dmg with 10.13 Install Packages
hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
@klich3
klich3 / pushNotifCertificate.sh
Created May 19, 2017 16:10 — forked from krimpedance/pushNotifCertificate.sh
Shell script which makes ck.pem file for iOS push notification automatically :)
# Check option
isUsePassword=0
isDev=0
while getopts pd OPT
do
case $OPT in
p)
isUsePassword=1 ;;
d)
isDev=1 ;;
@klich3
klich3 / webadmin.php
Created October 13, 2016 10:17
webadmin.php is a simple Web-based file manager.
<?php
// source: http://cker.name/webadmin/
/*
* webadmin.php - a simple Web-based file manager
* Copyright (C) 2004-2011 Daniel Wacker [daniel dot wacker at web dot de]
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.

This variation of a donut chart demonstrates how to add labels with lines. Clicking on the button changes the displayed data.