Skip to content

Instantly share code, notes, and snippets.

View mokiding's full-sized avatar
👻
Hunting bugs like Ghost Buster !

Coder mokiding

👻
Hunting bugs like Ghost Buster !
  • Behind Greatest Firewall of China
View GitHub Profile
#!/bin/bash
# URL of the .deb file
DEB_URL="https://github.com/Mastermindzh/tidal-hifi/releases/download/5.15.0/tidal-hifi_5.15.0_amd64.deb"
# Output file name
DEB_FILE="tidal-hifi_5.15.0_amd64.deb"
# Download the .deb file
echo "Downloading $DEB_FILE..."

Bank of commons ReactJS frontend

Screens

  1. register
  2. login
  3. forgot password
  4. company
    1. account
    2. users
  5. settings

Keybase proof

I hereby claim:

  • I am m0k1 on github.
  • I am m0k1 (https://keybase.io/m0k1) on keybase.
  • I have a public key ASBW9gNOH02eBawP_T_SEnOB5OCoFEBlUHcMgukuCPH_eAo

To claim this, I am signing this object:

@mokiding
mokiding / mojave.xml
Created July 1, 2018 06:08 — forked from trongthanh/mojave.xml
macOS Mojave dynamic background re-implement as GTK+ background slideshow. Background images are changed to reflect the time of the day.
<!-- Intruction:
- Download and unzip Mojave dynamic background here: https://files.rb.gd/mojave_dynamic.zip
- Fix the path to the background images
- Use gnome-tweaks tool to select this XML as wallpaper
-->
<background>
<starttime>
<year>2014</year>
<month>01</month>
<day>11</day>
@mokiding
mokiding / fix.txt
Created March 12, 2018 10:49
fallout 4 fix
https://www.reddit.com/r/fo4/comments/3yjxzv/game_is_running_too_fast_how_do_i_fix_this/?st=jeo3pb4w&sh=4fc9471b
@mokiding
mokiding / gource.sh
Last active March 4, 2018 23:31 — forked from cgoldberg/gource.sh
Generate a MP4 Video for your Git project commits using Gource!
# install bzr and gource
# get a branch of Mir's trunk code
# create gource video
$ sudo apt-get install bzr gource
$ bzr branch lp:mir
$ cd mir
$ gource \
-s .06 \
@mokiding
mokiding / web-service-soap-client-server-php.md
Created February 22, 2018 21:14 — forked from umidjons/web-service-soap-client-server-php.md
Simple Web service - SOAP Server/Client in PHP

Simple Web service - SOAP Server/Client in PHP

Implementation of the SOAP server - server.php:

<?php
// turn off WSDL caching
ini_set("soap.wsdl_cache_enabled","0");

// model, which uses in web service functions as parameter
@mokiding
mokiding / web-service-soap-client-server-php.md
Created February 22, 2018 21:14 — forked from umidjons/web-service-soap-client-server-php.md
Simple Web service - SOAP Server/Client in PHP

Simple Web service - SOAP Server/Client in PHP

Implementation of the SOAP server - server.php:

<?php
// turn off WSDL caching
ini_set("soap.wsdl_cache_enabled","0");

// model, which uses in web service functions as parameter
@mokiding
mokiding / raspberry_pi_optimization.md
Last active February 16, 2018 06:59 — forked from cybear/raspberry_pi_optimization.md
I read up a little on performance optimization for the Raspberry Pi, and gathered the links before they disappear from my short term memory.

Raspberry Pi general optimization

  • Use a class 10 SD card for best speed. The USB bus can't come much higher than 30MB/s so you don't have to buy any extremely fast ones though. Not all cards are compatible, check the compatibility list: http://elinux.org/RPi_SD_cards
  • Use the HardFloat version of Raspbian instead of the SoftFloat. HF has much faster floating point operations - however SF is required for running Java. So it's either Java or performance, like normal.
  • The official Raspbian image gives low network speeds: http://elinux.org/RPi_Performance#NIC
  • A graphics driver by Simon / teh_orph is using hardware acceleration for some instructions: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=28294 installation instructions: http://elinux.org/RPi_Xorg_rpi_Driver
  • The firmware can be upgraded which gives, among other things, better GPU performance.
@mokiding
mokiding / my-awesome-list.md
Last active January 20, 2018 21:47
Projects I like :)

PHP

Frameworks and lib's i love.

  • IceFramework - Simple and fast PHP framework delivered as C-extension. (Fast for apis)
  • whoops - PHP errors for cool kids
  • Hybridauth - Open source social sign on PHP Library.
  • Intervention Image - PHP Image Manipulation
  • Medoo - The lightest PHP database framework to accelerate development
  • Monolog - Sends your logs to files, sockets, inboxes, databases and various web services
  • dbv.php - Database version control, made easy!