Skip to content

Instantly share code, notes, and snippets.

View 7urkm3n's full-sized avatar
πŸ‡ΉπŸ‡²

Russell 7urkm3n

πŸ‡ΉπŸ‡²
  • NewYorkCity
  • 21:57 (UTC -04:00)
View GitHub Profile
@7urkm3n
7urkm3n / one-sqlite-db-per-account.rb
Created December 23, 2024 15:28 — forked from wilsonsilva/one-sqlite-db-per-account.rb
Creating a new sqlite db on the fly when a new account gets created
# Source https://x.com/benigartenmann/status/1871117811072065877
class Account < GlobalRecord
after_create_commit :create_shard
private
def create_shard
yaml_config = YAML.load_file("config/database.yml", aliases: true)
root_db_config = ActiveRecord::Base.connection_db_config.configuration_hash.deep_dup.freeze
tenant_shard_config = root_db_config.merge(
@7urkm3n
7urkm3n / blockchain.go
Created March 21, 2022 04:05 — forked from LordGhostX/blockchain.go
Blockchain POC with Golang
package main
import (
"crypto/sha256"
"encoding/json"
"fmt"
"strconv"
"strings"
"time"
)
@7urkm3n
7urkm3n / gist:7d4fdb52ef77b340d95623597abcc12c
Created November 20, 2019 23:17 — forked from mcansky/gist:3434417
signing an aws s3 url
# encoding : utf-8
require 'openssl'
require 'digest/sha1'
require 'base64'
module Aws
extend self
def signed_url(path, expire_date)
digest = OpenSSL::Digest::Digest.new('sha1')
can_string = "GET\n\n\n#{expire_date}\n/#{S3_BUCKET}/#{path}"
@7urkm3n
7urkm3n / postgres-brew.md
Created September 23, 2019 17:15 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@7urkm3n
7urkm3n / database.yml.example mysql2
Created March 3, 2019 19:54 — forked from erichurst/database.yml.example mysql2
Rails 3 database.yml examples
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8
@7urkm3n
7urkm3n / gist:cc6056f6fe61fbd534f5c372f6d79e55
Created May 28, 2018 13:29 — forked from francisrod01/gist:ebd620dd2584a15f28cc51e31aa95a67
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@7urkm3n
7urkm3n / Readme.md
Last active January 23, 2025 18:38
My Counter-Strike: Global Offensive Config

#This is my CS:GO 7urkm3n config.

Open any Text editor(Notepad): Copy/Paste and name it yrnickname.cfg (You can rename it to custom.cfg) and as the same Cope/Paste and save it video.txt. Both files in sh...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg

#Launch Options

-novid -high -threads 4 -nojoy +cl_forcepreload 1 -nod3d9ex -freq 120 -noforcemparms -noforcemaccel +exec Turkm3n.cfg -console

Enter launch options at Steam > Library > Counter-Strike: Global Offensive (right-click) > Properties > Set Launch Options...