Skip to content

Instantly share code, notes, and snippets.

View bangonkali's full-sized avatar
🏠
Working from home

Bangon Kali bangonkali

🏠
Working from home
View GitHub Profile
@bangonkali
bangonkali / example.cs
Last active August 29, 2015 14:24
Winium.Cruciatus Examples
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Automation;
using Winium.Cruciatus.Core;
using Winium.Cruciatus.Elements;
using Winium.Cruciatus.Extensions;
using Winium.Cruciatus.Exceptions;
using System.Drawing;
using System.Linq;
I20150712-14:54:19.434(8) (android:http://meteor.local/packages/jit_ui.js:184) Beginning initialization of subscriptions.
I20150712-14:54:19.435(8) (android:http://meteor.local/packages/jit_ui.js:185) User Information: eMWC5zrBuyoBeYQF9
I20150712-14:54:19.520(8) (android:http://meteor.local/packages/jit_ui.js:184) Beginning initialization of subscriptions.
I20150712-14:54:19.521(8) (android:http://meteor.local/packages/jit_ui.js:185) User Information: eMWC5zrBuyoBeYQF9
I20150712-14:54:19.547(8) (android:http://meteor.local/packages/jit_ui.js:2536) Loading all firms.
I20150712-14:54:19.620(8) (android:http://meteor.local/packages/jit_ui.js:4903) Request: NFqpXXyTWsbW-ygF6Y5dCGuBq3HkSVlLGJf5QdWNcu-
I20150712-14:54:19.623(8) (android:http://meteor.local/packages/jit_ui.js:4917) [object Object]
I20150712-14:54:19.625(8) (android:http://meteor.local/packages/jit_ui.js:4923) URL Seems to come from the Meteor.Local, this is probably being run in Cordova.
I20150712-14:54:19.632(8) (android:http://meteor.local/packag
@bangonkali
bangonkali / Reset MTM.md
Created August 5, 2015 06:10
Clear the MTM Cache

To clear MTM cache is it enough to delete the contents of:

  1. AppData\Local\Microsoft\TeamTest
  2. AppData\Local\Microsoft\Team Foundation
  3. AppData\Local\Microsoft\VisualStudio
  4. AppData\Roaming\Microsoft\VisualStudio
@bangonkali
bangonkali / bare_minimum.ino
Created August 22, 2015 16:15
Bare Minimum
void setup() {
// put your setup code here, to run once:</code>
}
void loop() {
// put your main code here, to run repeatedly:
}
@bangonkali
bangonkali / mage\app\etc\modules\My_Module.xml
Created June 12, 2012 05:48
Magento Modules Development: Overriding
<?xml version="1.0"?>
<config>
<!--
<global>
<modules>
<catalog>
<class></class>
<rewrite></rewrite>
-->
@bangonkali
bangonkali / index.js
Created June 13, 2012 13:22
My.IIT COR Scheduler
// ==UserScript==
// @name Graphical Scheduler
// @namespace https://sites.google.com/site/kinalibangon/ventures/javascript/graphical-scheduler
// @description My.IIT Graphical Scheduler for COR
// @include http://x4150my.msuiit.edu.ph/my/student/cor.php
// @version 0.0.7
// ==/UserScript==
// subject/course counters.
var subjects = new Array();
@bangonkali
bangonkali / initattributes.php
Created June 16, 2012 22:57
Magento Initialize Attributes
<?php
$hh = 'localhost';
$un = 'username';
$db = 'database';
$pw = 'password';
$nl = '<br />'.PHP_EOL;
$size_id = 0;
$errors = array();
@bangonkali
bangonkali / ntpu.l
Created August 30, 2012 20:43
ECE 196: Still Under Construction
* Mao ni akoan gi try ug sumpay2 na code sa number 2. Ang level 1 lang na mosfet lang sa ang gitestingan.
*
* given ta atong code (which is below), ug mga parameters na table. Pero katong code, kai naa toi kulang na mga parameters some of them are listed here: http://j.mp/Nz9pM8 pero mas daghan ang nakalista diari: http://j.mp/QXteHx ga start sa page 48 ani na document (52 including title).
*
* for example wala nakalista sa code ang parameter sa COX, pero ani na file http://j.mp/NZjVfr nakalista ang solution unsaon pag derive sa cox given ang uban parameters na naa sa code. Perhaps I think the same ang methods pag kuha sa JS which is also a paramater that must be included on the code but was not, pero mrag sa JS kailangan ka ug AS ug AD na parameter which is not given sa code too.
*
* i have noted some probable solutions here. http://imgur.com/a/FN3bB And after each line of code below naay [b/a, p#] na indication sa comment. a means: http://j.mp/QXteHx and b means http://j.mp/Nz9pM8 . mga reference na s
@bangonkali
bangonkali / cascode_jo.sp
Created August 31, 2012 08:00
LAB 7 - ECE 196
cascode_jo
.option post probe
.lib 'C:\synopsys\rf018.l' TT
M1 nx nin 0 0 nch w=2u l=0.5u
M2 nout nb1 nx 0 nch w=2u l=0.5u
M3 nout nb2 ns1 ndd pch w=1u l=0.5u
M4 nref nb2 ns2 ndd pch w=1u l=0.5u
M5 ns1 nref ndd ndd pch w=0.5u l=0.5u
@bangonkali
bangonkali / partial.php
Created September 28, 2012 16:35
Some Code
$newitem['name'] = $this->clean($objPHPExcel->getActiveSheet()->getCell('B' . $row)->getValue());
$newitem['attrib'] = $this->clean($objPHPExcel->getActiveSheet()->getCell('D' . $row)->getValue());
if (!in_array($newitem['attrib'], $uniueattributes)) {
$uniueattributes[] = $newitem['attrib'];
}
$newitem['size'] = $this->clean($objPHPExcel->getActiveSheet()->getCell('F' . $row)->getValue());