Skip to content

Instantly share code, notes, and snippets.


soundyogi soundyogi

View GitHub Profile

The solution I'm using is the following:

Compile the plugin using the command line:

"ENGINE_DIR\UE_4.22\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -Plugin="PATH_TO_MY_PLUGIN\MyPlugin.uplugin" -Package="PATH_TO_BUILD_FOLDER" -TargetPlatforms=Win64 -Rocket -precompile


Note that you should either add -precompile to the argument (as above) or put bPrecompile=true into your build.cs files

View css shootout
The most important factor that differentiates CSS-in-JS libraries is how dynamic they are. By that we mean whether a CSS-in-JS library can use JavaScript variables in its templates, and — if so — to what scope of variables those templates have access to? Module scope? Component scope? Or maybe .render() method scope?
Below we define five generations of CSS-in-JS libraries based on their template dynamicity and whether they use inline styles or inject actual CSS; starting from generation one — for the most static libraries — and going all the way up to generation five. Although not strictly true, this also corresponds to how React styling libraries evolved over time.
1st Generation
First generation React styling libraries don't allow you to write styling in JavaScript and use any of JavaScript variables, instead, you have to use CSS pre-processors. The CSS source files are usually located in separate .*css files.
Notable example: css-modules
2nd Generation
soundyogi /
Created Apr 25, 2020 — forked from claus/
Host Your Site Under Your Domain on IPFS

Host Your Site Under Your Domain on IPFS

This is a step-by-step tutorial for hosting your website under your domain on IPFS, from zero, on a DigitalOcean Ubuntu 16.04.3 x64 Droplet (i am using the $10 variant with 2GB RAM).

Install IPFS

Log in as root.

First, make sure the system is up to date, and install tar and wget:

soundyogi /
Last active Jun 10, 2019 — forked from jdowning/
Script to clean up Ubuntu
function print_green {
echo -e "\e[32m${1}\e[0m"
print_green 'Start'
print_green 'Cleanup log files'
find /var/log -type f | while read f; do echo -ne '' > $f; done
sudo apt install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
sudo apt install python2.7
curl -o- | bash
git clone c9sdk
soundyogi / ContractSend.tsx
Last active Jan 13, 2019
First Try of a generalized Drizzle Based Transaction Component with Context.Consumer
View ContractSend.tsx
/* global web3 */
import React from 'react';
import { DrizzleContext } from "drizzle-react";
import { drizzleProviderFactory } from '../../Provider';
type IDrizzleContext = {
drizzle: object
drizzleState: object
initialized: boolean
soundyogi / web3_resolver_ethereum_provider_2018.js
Last active Oct 30, 2018
avoid race conditions with web3 and be ready for new ethereum provider system ( provider.enable() ) 2nd. nov 2018
View web3_resolver_ethereum_provider_2018.js
/* global window */
// originally from:
// adapted by me
import Web3 from 'web3'
const fallback = 'wss://'
soundyogi /
Created Sep 2, 2018 — forked from javimosch/
Cloud9 Free VM (2048mb Storage) + Android Cordova Ionic Compiler
#vm machine needs nodejs
#download sdk
tar -xvf android-sdk_r24.2-linux.tgz
rm android-sdk_r24.2-linux.tgz
mv android-sdk-linux/ android
#install essential sdk components
~/workspace/android/tools/android update sdk -u --all --filter 2,4,168
#install enviroment dependencies
sudo apt-get install lib32stdc++6
soundyogi /
Created Aug 4, 2018 — forked from btroncone/
A Comprehensive Introduction to @ngrx/store - Companion to Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

View package.json
"scripts": {
"dev": "node .dev/",
"dev-prod": "node .dev/ --production",
"build": "rimraf ./dist && webpack --config .dev/webpack.config.production.js --colors",
"devDependencies": {
"@babel/core": "7.0.0-beta.38",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.38",
"@babel/plugin-proposal-decorators": "7.0.0-beta.38",
"@babel/plugin-transform-classes": "7.0.0-beta.38",