Skip to content

Instantly share code, notes, and snippets.

Tema Smirnov TemaSM

Block or report user

Report or block TemaSM

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Perfect-Game MTA.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Perfect-Game MTA\1.5\Settings]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Perfect-Game MTA\1.5\Settings\general]
TemaSM /
Created Jun 24, 2019 — forked from fvcproductions/
A sample README for all your GitHub projects.


INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here


Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
TemaSM /
Created Dec 25, 2017
Clear Docker Containers logs
sudo find /var/lib/docker/containers/ -type f -name '*-json.log' -delete
TemaSM / FileContainer.vue
Created Dec 21, 2017 — forked from dohomi/FileContainer.vue
File container for vuetify and It lists files provided by a prop with link to the public url. Below it shows a file upload field
View FileContainer.vue
<h3 class="subheading" v-if="!hideLabel">{{label}}</h3>
<v-list v-if="mediaList">
<v-list-tile v-for="(item,i) in mediaList" :key="i">
<v-list-tile-avatar @click="onItemClick(item.url)">
<img :src="item.url" :alt="" :title=""/>
<v-list-tile-content @click="onItemClick(item.url)">
TemaSM / splice-object-array.js
Created Nov 24, 2017 — forked from scottopolis/splice-object-array.js
Remove object from array of objects in Javascript
View splice-object-array.js
// source:
// we have an array of objects, we want to remove one object using only the id property
var apps = [{id:34,name:'My App',another:'thing'},{id:37,name:'My New App',another:'things'}];
// get index of object with id:37
var removeIndex = { return; }).indexOf(37);
// remove object
apps.splice(removeIndex, 1);
TemaSM / harlem-shake.js
Last active Apr 1, 2018
Beautified version of original HarlemShake script by Moovweb
View harlem-shake.js
function doTheHarlemShake() {
let minHeight = 30,
minWidth = 30,
maxHeight = 350,
maxWidth = 350,
mp3Src = '//',
shakeMeClass = 'mw-harlem_shake_me',
TemaSM /
Created Jul 5, 2017
Download latest GitHub project/repo release via curl
# Method №1:
curl -s<author>/<repo>/releases/latest | grep browser_download_url | cut -d '"' -f 4 | xargs curl >
# Method №2:
curl "$(curl -s<author>/<repo>/releases/latest | grep browser_download_url | cut -d '"' -f 4)" -o
TemaSM / dh-usage.js
Created Apr 27, 2017 — forked from bellbind/dh-usage.js
[nodejs][javascript] Diffie-Hellman key exchange by nodejs-0.5
View dh-usage.js
// node.js 0.5 Diffie-Hellman example
var assert = require("assert");
var crypto = require("crypto");
// the prime is shared by everyone
var server = crypto.createDiffieHellman(512);
var prime = server.getPrime();
// sharing secret key on a pair
TemaSM / [WIN] GitKraken Context Menu - Remove.reg
Created Apr 17, 2017
Remove GitKraken from Windows Context Menu
View [WIN] GitKraken Context Menu - Remove.reg
Windows Registry Editor Version 5.00
You can’t perform that action at this time.