I hereby claim:
- I am asahasrabuddhe on github.
- I am ajitem (https://keybase.io/ajitem) on keybase.
- I have a public key ASCzLp0B_5dJy2k3unuvqHxUvIDzkguiOK6FYBttp-HGTQo
To claim this, I am signing this object:
// This script injects an element at the top of the page. | |
// It doesn't work yet. To make it work, handle the TODO. | |
const button = { | |
name: 'Copy for Monday', | |
id: 'copyForMonday', | |
classList: [ | |
'flex-md-order-2', 'Button--secondary', 'Button--small', 'Button', 'm-0', 'mr-md-0' | |
], | |
onclick: () => { |
version: '3' | |
services: | |
user: | |
image: ajitemsahasrabuddhe/mirror:latest | |
ports: | |
- 9090:9090 | |
environment: | |
NAME: 'user-service' | |
labels: |
<?php | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ | |
/* Comment */ |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/sha256" | |
"encoding/base64" | |
"encoding/hex" | |
"fmt" | |
) |
<?php | |
class MBM_Encrypt_Decrypt { | |
const ENCRYPT_METHOD = 'AES-256-CBC'; // type of encryption | |
const SECRET_KEY = 'rappier_simple_secret_key'; // secret key | |
const SECRET_IV = 'rappier_simple_secret_iv'; // secret iv | |
public function encrypt($string) { | |
return $this->encrypt_decrypt('encrypt', $string); | |
} |
git init --bare $HOME/.configs | |
alias config='/usr/bin/git --git-dir=$HOME/.configs/ --work-tree=$HOME' | |
config config --local status.showUntrackedFiles no | |
echo "alias config='/usr/bin/git --git-dir=$HOME/.configs/ --work-tree=$HOME'" >> $HOME/.zshrc |
[Trigger] | |
Type = Package | |
Operation = Install | |
Operation = Upgrade | |
Target = pacman-mirrorlist | |
[Action] | |
Description = Updating mirrorlist... | |
When = PostTransaction | |
Depends = reflector |
Section "Device" | |
Identifier "DisplayLink" | |
Driver "modesetting" | |
Option "PageFlip" "false" | |
EndSection |
#!/bin/sh | |
csv_file=`echo sysbench-output.log | sed s/\.log\.txt//` | |
csv_file=$csv_file.csv | |
echo $csv_file | |
echo "" >> ${csv_file} | |
echo "Threads, Total events, Time, Events per second" >> ${csv_file} | |
echo "" >> $csv_file | |
syslog_file_name=op.log | |
for ((i = 1; i <= $(nproc); i = i * 2)); do | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=$i run > op.log |