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
Node *reverse(Node *p) | |
{ | |
Node *oldnext, *newnext; | |
while(p) | |
{ | |
oldnext = p->next; | |
p->next = newnext; | |
newnext = p; | |
p = oldnext; | |
} |
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
SELECT s.title AS title, | |
concat(u.forename, ' ', u.surname) AS name, | |
from_unixtime(ss.start_time, '%d/%m/%Y') AS sessiondate, | |
if( v.id IS NULL , ss.venue, v.title ) AS venue, | |
if(b.status NOT IN ('attended'),'No', 'Yes') AS attended | |
FROM `sessions` s | |
JOIN scheduled_sessions ss ON ss.session_id=s.id | |
JOIN session_bookings b ON b.session_id=ss.id | |
JOIN users u ON u.id=b.delegate_id | |
LEFT JOIN venues v ON v.id=ss.venue_id |
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
CC = g++ -c | |
LD = g++ | |
anagram: anagram.o hash.o qsort.o strlist.o | |
$(LD) -o $@ $^ | |
%.o: %.cpp %.c %.h | |
$(CC) -o $@ $< | |
clean: |
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
package com.imrannazar.anpr; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.pm.ActivityInfo; | |
import android.graphics.PixelFormat; | |
import android.hardware.Camera; | |
import android.hardware.Camera.Parameters; | |
import android.os.Bundle; |
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
INFO: Undeploying context [/cas] | |
Jun 16, 2011 8:57:31 AM org.apache.catalina.startup.HostConfig deployWAR | |
INFO: Deploying web application archive cas.war | |
Jun 16, 2011 8:57:32 AM org.apache.catalina.startup.TldConfig tldScanJar | |
SEVERE: Exception processing TLD META-INF/c-1_0-rt.tld in JAR at resource path /opt/jasperserver-pro-3.5.1/apache-tomcat/webapps/cas/WEB-INF/lib/ | |
standard-1.1.2.jar in context /cas | |
java.lang.NullPointerException | |
at org.apache.xerces.impl.dtd.models.DFAContentModel.buildDFA(DFAContentModel.java:538) | |
at org.apache.xerces.impl.dtd.models.DFAContentModel.<init>(DFAContentModel.java:253) | |
at org.apache.xerces.impl.dtd.DTDGrammar.createChildModel(DTDGrammar.java:2279) |
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
QT += network xml | |
QT -= gui | |
TARGET = QtCoreLib | |
TEMPLATE = lib | |
DEFINES += QTCORELIB_LIBRARY | |
INCLUDEPATH += src/logger \ | |
src |
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
;-------------------------------------------------------------------------- | |
; ph34rOS - Testing boot sector version 0.0.1h | |
; Changes from 0.0.1g - Removed Alias descriptor (No use for it) | |
; - Moved Stage2 load point to 7E00 | |
; - Assuming 386+ (It's a reasonable assumption) | |
; - Optimised debugging messages (I was bored) | |
; - Removed GetKey (No need, no need at all) | |
; - Moved procs into main code (no CALLs!) | |
;-------------------------------------------------------------------------- |
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
0106:<@B787_300> WE ARE LIVE | |
0106:< bigboateng> where do we see T- count | |
0106:< michaeltherobot> it's on! | |
0106:< SpaceX_guest|47418> IVE | |
0106:< Raptor42> Stream live | |
0106:<+theholyduck> yaysk | |
0106:< Qqqwxs> Totally the music is great | |
0106:< SpaceX_guest|47418> LIVE | |
0106:< Bernardo> oooooohohoohohohoohohh | |
0106:< arth> hahaha |
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
// ==UserScript== | |
// @name Robin Autovoter | |
// @namespace http://jerl.im | |
// @version 1.9 | |
// @description Autovotes via text on /r/robin | |
// @author /u/keythkatz | |
// @match https://www.reddit.com/robin* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
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
@-moz-document regexp("https?:\\/\\/(?!.*i\\.).*\\.reddit\\.com.*") { | |
body.res-r-spacex { top: 110px; background: none !important; } | |
body.res-r-spacex #header { top: -110px; height: 110px; } | |
body.res-r-spacex #header #sr-header-area { background: hsl(0, 0%, 20%); } | |
body.res-r-spacex #header #header-bottom-left { height: 90px; } | |
body.res-r-spacex #header #header-bottom-right { background: hsl(0, 0%, 20%); top: 0; } | |
body.res-r-spacex #header #header-bottom-right::before { border-top-color: hsl(0, 0%, 20%); } | |
body.res-r-spacex #header #header-img-a { height: 90px; background-size: 130px 90px; background-position: 10px -5px; } | |
body.res-r-spacex #header div#header-bottom-left .redditname a { background-size: 210px 90px; height: 90px; } | |
body.res-r-spacex #header div#header-bottom-left ul.tabmenu { height: 90px; } |
OlderNewer