Skip to content

Instantly share code, notes, and snippets.

View ivanelianto's full-sized avatar
💭
Mistaker

Ivan Elianto ivanelianto

💭
Mistaker
  • Pontianak, Kalimantan Barat, Indonesia
View GitHub Profile
@ivanelianto
ivanelianto / indodax-modal-calculation.js
Last active July 9, 2021 04:14
This script is used to get summary of total deposit and withdraw in Indodax.com
/**
* How To Use :
* 1. Open Indodax.com
* 2. Login
* 3. Go To Wallet
* 4. Go To Deposit/Withdraw Rupiah
* 5. Go To History Tab
* 6. Select Month: All
* 7. Select Year: All
* 8. Open Console (F12 or Ctrl + Shift + I)
@ivanelianto
ivanelianto / gitlab-ci-cd-simple-tutorial.txt
Last active January 7, 2020 03:35
Gitlab CI/CD Simple Tutorial
Config Di Project :
1. Buat File gitlab-ci.yml
2. Baca Dokumentasi Gitlab, Intinya, Buat Aja Dengan Format:
<nama-task>:
[stage]:<test|build|deploy>
script:
- <commands>
3. Tinggal Push
====================
using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace NA_Line_Broadcaster
{
public static class WindowAPIHelper
{
public enum ShowWindowEnum
{
import java.io.UnsupportedEncodingException;
import java.util.Base64;
public class Base64EncodingManager {
public static Base64EncodingManager instance;
private Base64EncodingManager() {
}
@ivanelianto
ivanelianto / RandomSlide.vba
Last active December 1, 2019 08:20
Random Power Point Slide Without Repetition
Dim NotShownSlideIndexes As New Collection
Dim HasStarted As Boolean
Sub OnSlideShowPageChange()
If HasStarted = False Then
HasStarted = True
Set NotShownSlideIndexes = Nothing
For Each Slide In ActivePresentation.Slides
With Slide.Shapes(2).ActionSettings(ppMouseClick)
@ivanelianto
ivanelianto / download-drama-day.py
Last active November 13, 2019 12:56
Not working anymore after patch in the website.
'''
NOT WORKING ANYMORE. THE WEBSITE HAS BEEN PATCHED.
'''
import requests
from bs4 import BeautifulSoup
import webbrowser as wb
import itertools
print 'Please wait'
@ivanelianto
ivanelianto / DbHandler.java
Created June 14, 2019 16:04
This file is used to "ISYS6197 Business Application Development" course in BINUS University Kemanggisan to teach about java application and MySQL database
/**
* Author : Ivan F.E. (IV18-1)
* This file is used to "ISYS6197 Business Application Development" course in BINUS University Kemanggisan
* to teach about java application and MySQL database
* 2019
*/
package util;
import java.sql.Connection;
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
const int MAX_NUMBER_RANGE = 100;
int *generateRandomNumbers(int n)
{
srand(NULL);
/*
* Test Case Source :
* https://github.com/rgehan/hacktoberfest-2k18-katas/blob/master/src/toPascalCase.test.js
*/
let re = /([ |_|-])+[\w]/g;
let strings = ["I am pascalCase",
"i am pascalCase",
"front-end-developer",