Skip to content

Instantly share code, notes, and snippets.

View atiq1589's full-sized avatar

Md. Atiqul Islam atiq1589

View GitHub Profile
@atiq1589
atiq1589 / github_gpg_key.md
Created March 24, 2019 06:12 — forked from ankurk91/github_gpg_key.md
Github : Signing commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@atiq1589
atiq1589 / 0_reuse_code.js
Created July 22, 2017 08:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@atiq1589
atiq1589 / gist:3e6469c1a1534b2d3c64eca3ef7f6d05
Created April 5, 2017 07:38 — forked from eparreno/gist:1845561
Install libmagic on Mac OS X via homebrew
$ brew install libmagic
$ brew link libmagic (if the link is already created is going to fail, don't worry about that)
$ env ARCHFLAGS="-arch x86_64" gem install ruby-filemagic -- --with-magic-include=/usr/local/include --with-magic-lib=/usr/local/lib/
* Reducing executable size:
http://developer.xamarin.com/guides/cross-platform/deployment,_testing,_and_metrics/memory_perf_best_practices/#Reducing_Executable_Size
* Use the linker (iOS [1], Android [2]) to remove unnecessary code from your assemblies
[1] https://developer.xamarin.com/guides/ios/advanced_topics/linker
[2] https://developer.xamarin.com/guides/android/advanced_topics/linking
* Reference third-party libraries judiciously
* Applying constraints to generics may reduce app size, since less code would need to be included (haven’t verified this)
@atiq1589
atiq1589 / app.js
Last active August 30, 2015 19:36 — forked from bmatusiak/app.js
express/mongodb socket.io/redis AIO
/**
* Session Storage for multi servers ex.Heroku stacks
* for expressjs socket.io with databases redis and mongodb
* (redis/socket.io)
* (mongodb/expressjs)
*
* Bradley Matusiak @ 2012 bmatusiak@gmail.com
*
* ref:bunch of searches from google
**/