Skip to content

Instantly share code, notes, and snippets.

View ti-ka's full-sized avatar
🎯
Focusing

Tika Pahadi ti-ka

🎯
Focusing
View GitHub Profile
Once there lived a cop named Home (Legal Name: Home Controller). He with the help of some other cops like BaseController, took the society into control.
Their job was to maintain social order. They had to collect criminals and hand over to court.
But they did something different [in hope of better]. They started giving justice themselves (to avoid justice delay).
In case of problems, they stood in front and helped people if necessary. Then, they started collecting tax (to help the collectors). They offered safety(Authentication). They started to do kind-of-everything (to help).
They are not bad cops, but society cannot function this way. This ends in either them being too powerful and "coup". Or, this propells society to unmaintainable chos (code).
Again, the cops are not bad. They are helpful. But, nobody wants a chaos. A society functions well if we have duties and responsibilities distributed. So does the Code.
li $s0 8
li $s1 9
li $a0 2
li $a1 4
jal biff
addi $s3 $v0 0
ChangeLog:
March 23
1. Defined proper offsets and responsive layouts for login views
2. Defined re-usable .space, .margin and .padding layouts
3. Logo and footer are now partials
4. AppName is now partial too. Later, will change to Environment Variable
File System Changes:
@{
var currentTaxyear = "";
if (PageConstants.CurrentTaxYear != 0)
{
currentTaxyear = "Tax Year " + PageConstants.CurrentTaxYear;
}
}
<label class="editor-label">
@("Tax Year " + PageConstants.CurrentTaxYear )
</label>
@ti-ka
ti-ka / config.json
Created April 16, 2016 15:54 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#2C3E50, 6.5%)",
"@brand-success": "#18BC9C",
<types>
<element name='StudentName' type='xcd:string'>
<element name='Student'>
<sequqence>
<element name='name' type='string' />
<element name='gpa' type='double' />
</sequqence>
</element>
</types>
Detail: (NTC Only)
1. Say, you have Rs. 70 in mobile NTC.
2. Use Internet of around Rs. 65. Make sure that it does not get disconnected due to finished balance. Important!
3. Transfer Rs. 69.99 to another NTC number.
4. Disconnect Internet.
So, you will have used Internet worth 65 rupees using 1 paisa only.
Keep track of MB and current rate. You can use some apps to keeo track of MB used.
//1000 most common english words
window.dictionary = ["the","of","and","to","a","in","for","is","on","that","by","this","with","i","you","it","not","or","be","are","from","at","as","your","all","have","new","more","an","was","we","will","home","can","us","about","if","page","my","has","search","free","but","our","one","other","do","no","information","time","they","site","he","up","may","what","which","their","news","out","use","any","there","see","only","so","his","when","contact","here","business","who","web","also","now","help","get","pm","view","online","c","e","first","am","been","would","how","were","me","s","services","some","these","click","its","like","service","x","than","find","price","date","back","top","people","had","list","name","just","over","state","year","day","into","email","two","health","n","world","re","next","used","go","b","work","last","most","products","music","buy","data","make","them","should","product","system","post","her","city","t","add","policy","number","such","please","avail
@ti-ka
ti-ka / Ac.cs
Last active June 22, 2016 20:03
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PetaPoco;
namespace Prognose.Web.Models
{
[PrimaryKey("SVS")]
<?php
/*
This is a sample, concept-only class to demonstrate some refactoring.
Not inteneded as a full flegde or perfect example.
*/
class Tea {