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
import java.io.*; | |
public class Main { | |
public static void main(String[] args) throws Exception { | |
File folder = new File("C:/"); //folder path | |
File[] myf = folder.listFiles(); |
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
#create ns | |
set ns [ new Simulator ] | |
#output file | |
set outputfile [ open out.nam w ] | |
$ns namtrace-all $outputfile | |
#trace file | |
set tracefile [ open out.tr w ] | |
$ns trace-all $tracefile |
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
import java.util.*; | |
public class SortArrayOneStep { | |
public static void main(String[] args) { | |
Integer[] arr = {5,4,3,2,1}; | |
printArray(arr); | |
Arrays.sort(arr); | |
printArray(arr); |
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 mygists; | |
import java.io.BufferedReader; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
public class GetWebPageAsString { |
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
<html> | |
<head> | |
<title>Timer</title> | |
<script type="text/javascript"> | |
function onloadME (timer) { | |
window.setInterval(timerfunc,1000); | |
} | |
sec = 0 ; | |
min = 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
document.getElementById('download_texts').innerHTML = 'Your download is ready! Click the button below to start your download.'; | |
document.getElementById('download_input').innerHTML = '<form name="downloadForm" id="downloadForm" method="post"><input type="hidden" name="www_form_submit" value="1" /><input style="color:#111111;font-family:verdana;font-size:11px;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;" type="submit" name"submit" id="submitDownload" onclick="disableDownload()" value="Download" /><input type="hidden" name="id" value="Naruto/Naruto Episode 88 [Endless-Naruto.com].zip" /> <span style="display: none;" id="enjoy"><em>Enjoy!</em></span></form>'; | |
document.downloadForm.submit(); |
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
<Page | |
x:Class="App4.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:App4" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Grid x:Name="layoutGrid" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> |
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
using System.Web; | |
using System.Web.Optimization; | |
namespace MvcBootStrapTry | |
{ | |
public class BundleConfig | |
{ | |
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 | |
public static void RegisterBundles(BundleCollection bundles) | |
{ |
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
//spam message the chats with thirugram.js | |
//open up telegram web and go to the chat you want to spam | |
//open console ( Ctrl + Shift + J ) | |
//execute the code | |
var message = ""; //spam message | |
var interval = 1 ; // in seconds | |
var count = 10 ; //number of times to send | |
var notifyInterval = 5 ; //notify | |
var i = 0 ; | |
var timer = setInterval(function(){ |
OlderNewer