Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
NOTICE: This guide will help you set ssh keys for GitHub and GitLab. However, this is not going to change your commit
user.name
oruser.email
. If you need to change those for specific repositories, just run the following commands while in your repository:
git config user.name "Your Name Here"
git config user.email your@email.com
For more info, see this answer. Also, keep in mind this only changes the
.git
folder inside your repository which never gets added/committed/pushed/uploaded.
I recently had to manage two ssh keys (one for Github and one for Gitlab). I did some research to find the best solution. I am justing putting the pieces together here.
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2020 Jerzy Kasenberg | |
* Copyright (c) 2023 HiFiPhile | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
#!/bin/sh | |
## | |
# Usage: | |
# ./convert.sh /path/to/framework /path/to/out $apiVersion $arch | |
# | |
# $arch is mandatory only in case of an ART system and defines the boot folder to use (arm, x86, x86_64). | |
## | |
frameworkDir=$1 | |
# Final output directory |
Paste the following code into the console panel of the DevTools window of Chrome or Firefox.
The style sheet came from (Web Scraper)[http://webscraper.io/] plugin for Chrome
It is useful for analyse a page layout and you can extend it to select preferred dom elements.
function addStyleString(str) {
var node = document.createElement('style');
function hexdump (data: Uint8Array, bytesPerLine = 16): string { | |
const result: string[] = [] | |
for (let i = 0; i < data.length; i += bytesPerLine) { | |
const chunk = data.slice(i, i + bytesPerLine) | |
const address = i.toString(16) | |
.padStart(8, '0') | |
const hex = Array.from(chunk, byte => byte.toString(16) |
import idaapi | |
import idautils | |
import ida_funcs | |
import ida_allins | |
import ida_ua | |
import ctypes as C | |
NETNODE_NAME = '$ClassInformer_node' |