This file contains hidden or 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 <cstdio> | |
| #include <cstdlib> | |
| #include <string> | |
| #include <map> | |
| #include <vector> | |
| //===----------------------------------------------------------------------===// | |
| // Lexer | |
| //===----------------------------------------------------------------------===// | |
| /* |
This file contains hidden or 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
| USE [Adatadb] | |
| GO | |
| /****** Object: StoredProcedure [dbo].[CORE_AD_FILL] ******/ | |
| SET ANSI_NULLS ON | |
| GO |
This file contains hidden or 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 "apue.h" | |
| #include <sys/wait.h> | |
| static void sig_int(int); /* our signal-catching function */ | |
| int main(void) { | |
| char buf[MAXLINE]; /* from apue.h */ | |
| pid_t pid; | |
| int status; |
This file contains hidden or 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
| /* | |
| * main.js is the server for ardeshir.org | |
| * | |
| */ | |
| 'use strict'; | |
| var | |
| http = require('http'), | |
| express = require('express'), | |
This file contains hidden or 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 <stdio.h> // declares printf(), scanf(), and fpurge() | |
| #include <stdlib.h> // declares malloc(), realloc() | |
| #include <stdbool.h> // declares bool. | |
| #include <string.h> // declares strcmp() | |
| #include <ctype.h> | |
| struct dbCD { | |
| char artist[40]; | |
| char composer[40]; |
This file contains hidden or 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
| var obj_data = { FirstName : 'JavaScript', | |
| LastName : 'ECMAScript 5', | |
| Middle: ['scheme','the fool','sunshine'], | |
| Phone: [ '612.666.0300', { home: '763.521.0504', | |
| work: ['123.123.1234','123.444.5555'], | |
| cell: '01.123.555.6677' | |
| } | |
| ], | |
| Address : { | |
| Street: '3753 20th Ave South', |
This file contains hidden or 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
| from math import sqrt | |
| def is_prm(x): | |
| if x < 2: | |
| return False | |
| for i in range(2, int(sqrt(x)) + 1): | |
| if x % i == 0: | |
| return False | |
| return True |
This file contains hidden or 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
| var obj = { | |
| FirstName : 'JavaScript', | |
| LastName : 'ECMAScript 5', | |
| Middle: ['scheme','the fool','sunshine'], | |
| Phone: [ '612.666.0300', { home: '763.521.0504', | |
| work: ['123.123.1234','123.444.5555'], | |
| cell: '01.123.555.6677' | |
| } | |
| ], |
This file contains hidden or 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 "mpc.h" | |
| #ifdef _WIN32 | |
| static char buffer[2048]; | |
| char* readline(char* prompt) { | |
| fputs(prompt, stdout); | |
| fgets(buffer, 2048, stdin); | |
| char* cpy = malloc(strlen(buffer)+1); |
This file contains hidden or 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 main | |
| import ( | |
| "log" | |
| "fmt" | |
| "database/sql" | |
| _ "github.com/go-sql-driver/mysql" | |
| ) |