Skip to content

Instantly share code, notes, and snippets.

View alexsnow348's full-sized avatar
๐Ÿ‘‹

Alex Snow alexsnow348

๐Ÿ‘‹
View GitHub Profile
mpiexec='MPIR_CVAR_OFI_SKIP_IPV6=0 FI_PROVIDER=tcp mpiexec'
mpirun='MPIR_CVAR_OFI_SKIP_IPV6=0 FI_PROVIDER=tcp mpirun'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexsnow348
alexsnow348 / sendemail.json
Created December 13, 2018 09:00
send Email with Attachment using NoteRed
[
{
"id": "ce8dc140.ff7c1",
"type": "tab",
"label": "email",
"disabled": false,
"info": ""
},
{
"id": "c8cd3ee4.1af3e",
@alexsnow348
alexsnow348 / note.md
Created December 1, 2018 07:19
Developing calander web app with ruby and rails

Installtion requirements

  • ruby
  • rails

Step one

  • create a DB (sqlite or sql or posreqst)

Step two (Create DB and Migrate)

  • Migrateion of the database
  • rails generate model Club name:text
  • rails db:migrate
@alexsnow348
alexsnow348 / .gitignore
Created November 9, 2018 03:09 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@alexsnow348
alexsnow348 / ionic_traing.md
Last active October 16, 2018 05:00
Ionic Training

Ionic Training

Start The sample program

inoic start
inoic serve

Generate new page

inoic -g
@alexsnow348
alexsnow348 / samplerand.py
Last active October 5, 2018 02:48
Sample Random generate
import requests as rq
import json
from random import randint
INT_MAX = 29 # Global
starting_point = randint(0, INT_MAX) # Get the starting number
array_num = ['0'] * INT_MAX # Create list of value '0' of len 29
# Make changes on required position