Skip to content

Instantly share code, notes, and snippets.

View ofarukcaki's full-sized avatar

of ofarukcaki

View GitHub Profile
@ofarukcaki
ofarukcaki / DumpChromePasswords.ps1
Created April 17, 2022 20:01 — forked from K-Mistele/DumpChromePasswords.ps1
@0gtweet's DumpChromePasswords.ps1
$sqlitedll = ".\System.Data.SQLite.dll"
if (!(Test-Path -Path $sqlitedll))
{
Write-Host "Grab your copy of System.Data.SQLite.dll. " -ForegroundColor Yellow
Write-Host "Most likely from https://system.data.sqlite.org/downloads/1.0.113.0/sqlite-netFx40-static-binary-bundle-x64-2010-1.0.113.0.zip" -ForegroundColor Yellow
Write-Host "Your bitness is:" (8*[IntPtr]::Size) -ForegroundColor Yellow
Write-Host "Your .Net version is:" $PSVersionTable.CLRVersion -ForegroundColor Yellow
Write-Host 'No installation needed. Just unzip and update the $sqlitedll variable above.' -ForegroundColor Yellow
return
@ofarukcaki
ofarukcaki / age of empires 3 commands
Created August 22, 2020 20:10
Here you can find (all of?) the commands used in Age of Empires III. I've taken them out of the exe and reorganized them because it was a complete mess (still is). I'd suggest you to search (ctrl+f) instead of browse through them. Anyway, they might be usefull when editing UIs, triggers etc. But most of them are useless for that I think, I don't…
- by Argalius; ordered alphabetically by daoo,
Created: 5th June 2006
Last Edited: 3rd July 2006
Here you can find (all of?) the commands used in Age of Empires III. I've taken them out of the exe and reorganized them because it was a complete mess (still is). I'd suggest you to search (ctrl+f) instead of browse through them. Anyway, they might be usefull when editing UIs, triggers etc. But most of them are useless for that I think, I don't really know exactly to be honest with you, do with it what you want.
ability( int abilityId, int unitID ) : Explorer Abilities use
addAttachment(fromBoneName, toBoneName, protoUnitName)
addImperialArmyUnit( int playerID, long puid ) : Adds an IA Unit
@ofarukcaki
ofarukcaki / client.js
Created March 23, 2019 00:14 — forked from crtr0/client.js
A simple example of setting-up dynamic "rooms" for socket.io clients to join
// set-up a connection between the client and the server
var socket = io.connect();
// let's assume that the client page, once rendered, knows what room it wants to join
var room = "abc123";
socket.on('connect', function() {
// Connected, let's sign-up for to receive messages for this room
socket.emit('room', room);
});
@ofarukcaki
ofarukcaki / free_email_provider_domains.txt
Created February 22, 2019 13:14 — forked from tbrianjones/free_email_provider_domains.txt
A list of free email provider domains. Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
1033edge.com
11mail.com
123.com
123box.net
123india.com
123mail.cl
123qwe.co.uk
126.com
150ml.com
15meg4free.com
@ofarukcaki
ofarukcaki / next.config.js
Created January 23, 2019 21:17 — forked from balupton/next.config.js
next.js webpack configs
module.exports = {
webpack: (config) => {
const webpack = require('webpack')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
config.plugins = config.plugins || []
config.plugins.push(new webpack.ContextReplacementPlugin(/moment[/\\]locale$/, /en/))
config.plugins.push(new BundleAnalyzerPlugin())
return config
}
}

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.

@ofarukcaki
ofarukcaki / notes.md
Created May 22, 2018 14:32 — forked from matthewjberger/notes.md
How to make an electron app using Create-React-App and Electron with Electron-Builder.

How to setup Shadowsocks on your Ubuntu server

Your school or company network may block the access to a few specific websites. To solve this problem, I'd highly recommend Shadowsocks, since it is the easiest proxy tool I've ever found, and it's FREE (of course iff you have your own server running).

First, ssh to your server, and make sure you have Python and pip installed. If you have Python but not pip, install it using the following command

$ sudo apt-get install python3-pip