Known Issues: On High Sierra there are problems related to the screen brightness and sleep issues.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
MaterialTextfield = window['MaterialTextfield']; | |
/** | |
* Handle lost focus. | |
* | |
* @private | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if ($paginator->hasPages()) | |
<ul class="uk-pagination"> | |
{{-- Previous Page Link --}} | |
@if ($paginator->onFirstPage()) | |
<li class="uk-disabled"><span>«</span></li> | |
@else | |
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li> | |
@endif | |
{{-- Pagination Elements --}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! -S ~/.ssh/ssh_auth_sock ]; then | |
eval `ssh-agent` | |
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock | |
fi | |
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock | |
ssh-add -l > /dev/null || ssh-add ~/.ssh/{yourusername} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# Simple XML validator done while learning the use of lxml library. | |
# -- Juhamatti Niemelä <iiska AT iki DOT fi> | |
import lxml | |
from lxml import etree | |
if __name__ == "__main__": |
I hereby claim:
- I am roshangautam on github.
- I am roshangautam (https://keybase.io/roshangautam) on keybase.
- I have a public key ASDRkwf0V5Dhi2JocA2JeC7QH3JZKBgx6LWJHBdQznYIiQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def quicksort(array, first, last): | |
if first < last : | |
pivot = array[first] | |
left = first + 1 | |
right = last | |
while 1 : | |
while left <= right and array[left] <= pivot : | |
left += 1 | |
while right >= left and array[right] >= pivot : | |
right -= 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <queue> | |
#include <string> | |
using namespace std; | |
void topn(string file_name, int n) { | |
ifstream infile(file_name); // open a pointer to the huge file | |
int a; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gll="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
NewerOlder