Skip to content

Instantly share code, notes, and snippets.

Deep Learning, Data Structures, Algorithms, and Problem Solving

Chanchana Sornsoontorn off99555

Deep Learning, Data Structures, Algorithms, and Problem Solving
View GitHub Profile
off99555 / .spacemacs
Last active Dec 31, 2016
My Spacemacs dot file and its configurations, deprecated; see this instead:
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
;; Base distribution to use. This is a layer contained in the directory
off99555 /
Last active Jan 4, 2017
Generate all 4096 permutations of "happy new year" in Python 3
sentence = 'happynewyear'
n = len(sentence)
total_perms = 2 ** n
for perm in range(total_perms):
generated = []
for i in range(n):
ch = sentence[i]
if (1 << i) & perm: # see explanation:
ch = ch.upper()
View fuzzy-set-trainer-output.txt
Data: [ 70. 91. 52. 67. 80. 93. 74. 40. 89. 45. 61. 82.
96. 50. 64. 85. 100. 56. 98. 41. 87. 68. 43. 65.
75. 62. 54. 47. 48. 72.]
===Beginning Parameters===
Group 1; MEAN = 45.00, SD = 3.00
Group 2; MEAN = 65.00, SD = 3.00
Group 3; MEAN = 85.00, SD = 3.00
Reading 70.0
This data is in group 2
MEAN: 66.6666666667 SD: 4.8218253805
off99555 /
Last active May 20, 2021
Git & GitHub course outline draft

What will I learn ?

  • การติดตั้ง Git
  • การใช้งาน Git เบื้องต้น เพื่อการจัดการเวอร์ชันโปรแกรมของเรา
  • การใช้เว็บไซต์ GitHub
  • การอัพโหลดโปรเจ็ค Git ขึ้นสู่ GitHub เพื่อใช้งานร่วมกับคนอื่น
  • การใช้คำสั่งมีประโยชน์ต่างๆ เช่น git blame, git bisect, ...


  • มีความคุ้นเคยกับโค้ดโปรแกรม (ไม่จำเป็นต้องเขียนเป็น)
  • มีความกระตือรือร้นที่จะฝึกฝนทักษะ, ถาม, และค้นหา
off99555 /
Last active Mar 18, 2021
No bullsh*t resistance training and diet guide for improving your physique and performance. To obtain spectacular changes, we must train both your body and your mind.

Resistance training introduction

Resistance training A.K.A. strength training A.K.A. weight training is done by lifting weights in the gym or using bodyweight in order to improve your physique and performance.

The physique goal might be to gain muscle, lose fat, or maintain your weight.

The performance goal might be to improve strength, endurance, cardiovascularity, power, or technical showoff.

NOTE: I also talk about diet. I'm showing you how to improve your physique in scientifically proven ways. After reading this open-mindedly, you are going to be able to manipulate your bodyweight like crazy.

I also talk about how to eliminate excuses and difficulty for going to the gym. I'll show you how you can train your mind to be a new person.

off99555 /
Last active Jun 16, 2018
Looking within for the answers; Spiritual Awakening; Self Development; Self-help; Finding Truth; Happiness; Energy Psychology; Healing;

Resources for obtaining clarity, purpose, career, health, wealth, happiness, peace, joy, loving relationships, abundance, success, and freedom of your life by looking within.

The Truth About Human Life

  • Thoughts are the language of the mind. Emotions are the language of the body. When they are not in alignment, you will usually beat yourself up because you feel like you cannot control your own thoughts. Thoughts are always powerless compared to your emotions. How you feel is the truth for you. No matter how logical or reasonable you are, you are operating from your emotions. Because the subconscious mind has 95% control over your body. Your conscious mind has only 5%. And those 95% are feelings. It always win. Do not fight it. You will lose. You need a better strategy. (Read The Power of Now if you want more info)
  • You can choose to not believe thoughts and feelings that arise if they do not benefit you. They are not yours. T
off99555 / bfg.bat
Last active Jan 3, 2019
Alias file for git-bfg repo cleaner
View bfg.bat
:: Put this file and `bfg.jar` into a dedicated folder for aliases like `C:\Aliases`.
:: And ensure that you add the folder path to `PATH` environment variable.
:: Then you would be able to call `bfg` inside command prompt.
@echo off
java -jar %~dp0\bfg.jar %*
off99555 /
Last active Oct 6, 2020
Short Summary of (some language) development in Visual Studio

Building and using DLL in Visual C++

  1. Create a library project to build DLL file. You will get .lib, .dll, and .h files.

  2. Create another project to use the DLL file. Then follow steps 2 to 6 on this project. You need to tell Visual Studio where to find the header files and library files via its Properties window.

  3. Go to project Properties > C/C++ > General and set Additional Include Directories to directory for header files (.h). (Or you can just copy the header files into your project.)

    If you build the project, you will get error LNK2019: unresolved external symbol because there is no library file yet.

off99555 /
Last active Aug 3, 2021
How to install TensorFlow GPU on Windows without installing CUDA Toolkit manually and ensure training speedup


Follow this guide to install TensorFlow GPU on Windows (without the need to manually install CUDA Toolkit): CUDA will be installed for you automatically using Anaconda.

Or just follow the Fast Instructions I wrote below.

If you want to install CUDA toolkit on your own, or if you want to install the latest tensorflow version, then you need to follow official installation guide.

Fast Instructions