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
var clogger = { | |
consoleMethods: ['log','error','warn','info'], | |
consoleStoredMethods: {}, | |
initiated: false, | |
init: function(){ | |
if(!this.initiated){ | |
for(var i=0; i<this.consoleMethods.length; i++){ | |
this.consoleStoredMethods[this.consoleMethods[i]] = window['console'][this.consoleMethods[i]]; | |
window['console'][this.consoleMethods[i]] = function(){}; | |
} |
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
/* | |
Compatible with C++, C++14, C++17 | |
Tested at https://www.onlinegdb.com/online_c++_compiler | |
*/ | |
#include <iostream> | |
using namespace std; | |
int main(){ | |
int i,j,k,p,s=0, got=0, idle=0, temp_burst, temp_row, pre_process_row, done=0; |
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
/* | |
Compatible with C++, C++14, C++17 | |
Tested at https://www.onlinegdb.com/online_c++_compiler | |
*/ | |
#include <iostream> | |
using namespace std; | |
int main(){ | |
int i,j,k,p,s=0, got=0, idle=0, temp_burst, temp_row, pre_process_row, done=0; |
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
/* | |
Compatible with C++, C++14, C++17 | |
Tested at https://www.onlinegdb.com/online_c++_compiler | |
*/ | |
#include <iostream> | |
using namespace std; | |
int main(){ | |
int i,j,k=0,p=0,q,temp,s=0,idle=0,done=0; |
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
/* | |
Author: Tanmay Chakrabarty | |
Website: https://onlineclassnotes.com | |
Last Update Date: 27-06-2020 | |
Github Gists Link: https://gist.github.com/TanmayChakrabarty/8e61793ae2fbf2f2bb53e19cc3e8f6ef | |
OnlineGDB link: https://onlinegdb.com/r1UCTC4A8 | |
OnlineClassNotes Link: https://onlineclassnotes.com/2011/12/explain-and-solve-first-come-first.html | |
*/ | |
#include <iostream> |
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
/* | |
* Name: Sample Program | |
* Author: OnlineClassNotes.COM | |
* Create Date: 26/11/2016 | |
* Last Modified: 27/11/2016 | |
* Tested at https://www.onlinegdb.com/online_c++_compiler using Language: C | |
*/ | |
//Linking required library | |
#include <stdio.h> |
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
Imports MySql.Data.MySqlClient | |
Public Class Form1 | |
Public dbconn As New MySqlConnection | |
Public sql As String | |
Public dbcomm As New MySqlCommand | |
Public dbread As MySqlDataReader | |
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load | |
dbconn = New MySqlConnection("Data Source=localhost;user id=root;password=demo;port=3310;database=vb_mysql") | |
Try |
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
/* | |
Data Structure Lab Test | |
Date 16/04/2011 | |
Programmed by Tanmay Chakrabarty | |
CSE. | |
Compatible with C++, C++14, C++17 | |
Tested at https://www.onlinegdb.com/online_c++_compiler | |
*/ |
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
Imports | |
MySql.Data | |
Public Class Form1 | |
Dim sql As String | |
Dim sql_connection As MySqlClient.MySqlConnection | |
Dim sql_command As MySqlClient.MySqlCommand | |
Dim sql_reader As MySqlClient.MySqlDataReader | |
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load | |
sql_connection = New MySqlClient.MySqlConnection("Data Source=localhost;user id=root;database=my_test_projects;") |
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
<?php | |
function _process_toposort($pointer, &$dependency, &$order, &$pre_processing, &$reportError){ | |
if(in_array($pointer, $pre_processing)) return false; | |
else $pre_processing[] = $pointer; | |
if(isset($dependency[$pointer])){ | |
if(is_array($dependency[$pointer])){ | |
foreach($dependency[$pointer] as $master){ | |
if(isset($dependency[$master])){ | |
if(!_process_toposort($master, $dependency, $order, $pre_processing, $reportError)) { |
OlderNewer