Skip to content

Instantly share code, notes, and snippets.

(function() {
'use strict';
angular
.module('githubApp')
.factory('Pagination', Pagination)
function Pagination(){
return {
grep drv /var/log/Xorg.0.log
/var/log/dmesg , glxinfo | grep -i direct , lspci -nnk
install lshw;
sudo lshw -html > MyHardware.html
mywiki.wooledge.org
'use strict';
module.exports = function (grunt) {
grunt.initConfig({
jshint: {
src: ['app/**/*.js'],
options: {
eqeqeq: true,
curly: true,
laxcomma: true
}
'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ngRoute',
'myAppServices',
'myAppControllers'
]).
config(['$routeProvider', function($routeProvider) {
$routeProvider.
// getEvents()
// Keep a track of the events list for each element
// getListeners(event)
// Keep a track of the listener list for each event
/* ===================Handle adding of event=================== */
@ikouchiha47
ikouchiha47 / app.js
Last active September 12, 2016 11:14
Socket.io ExpressJS chat rooms
var express = require('express');
var http = require('http');
var path = require('path');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var app = express();
var server = http.Server(app);
var io = require('socket.io')(server);
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/elpa")
;;(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(setq make-backup-files nil)
(setq auto-save-default nil)
(setq-default tab-width 2)
(setq-default indent-tabs-mode nil)
(setq inhibit-startup-message t)