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
| SELECT | |
| JSONExtractString(labels, 'hostname') as hostname, | |
| argMax(JSONExtractString(labels, 'your_tag_name'), value) as tag_from_max, | |
| max(value) as max_value | |
| FROM signoz_metrics.distributed_samples_v2 | |
| WHERE | |
| metric_name = 'your_metric_name' | |
| AND timestamp_ms >= {{.start_time}} | |
| AND timestamp_ms <= {{.end_time}} | |
| GROUP BY JSONExtractString(labels, 'hostname') |
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 net.guipsp.commentkiller; | |
| import java.io.*; | |
| public class Main { | |
| public static final void main(String[] args) { | |
| try { | |
| stripComments(new FileReader("in.java"), new FileWriter("out.java")); | |
| } catch (Throwable t) { |
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
| [u'frapalino', | |
| u'OneNudeRobot', | |
| u'blunnettsquare', | |
| u'sterlingsilver6', | |
| u'captaincannibal', | |
| u'AwayNotAFK', | |
| u'Luke819', | |
| u'Catharsis1394', | |
| u'QwertyuiopThePie', | |
| u'pancakeninja27', |
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
| [u'Rotlaus', | |
| u'jeffcityjon', | |
| u'ipha', | |
| u'dotPHUNK', | |
| u'ledd', | |
| u'M4ntr1d', | |
| u'MrBradd', | |
| u'CodeRedOnly', | |
| u'Zakonichiban', | |
| u'TheCodexx', |
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
| Total flair users: 11931 | |
| - : 186 (1.56%) | |
| specialmoderator - Chart Guy: 1 (0.01%) | |
| fanserver - Mianthadore: 1 (0.01%) | |
| - Team Undecided: 107 (0.90%) | |
| specialzisteau - Zisteau: 1 (0.01%) | |
| fanserver - OmegaRainbow: 1 (0.01%) | |
| pyrao - Team Pyropuncher: 109 (0.91%) | |
| specialwctg2 - WCT - Teams 2nd: 4 (0.03%) | |
| specialpause - Pause: 1 (0.01%) |
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
| Total flair users: 11930 | |
| : 186 (1.56%) | |
| Team Just_Defy: 11 (0.09%) | |
| Aubron: 1 (0.01%) | |
| Iggy: 1 (0.01%) | |
| Mianthadore: 1 (0.01%) | |
| Team Mhykol: 41 (0.34%) | |
| Team Baj: 153 (1.28%) | |
| WCT - Teams 1st: 4 (0.03%) | |
| Team Single Malt Scotch: 465 (3.90%) |
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
| Total flair users: 11928 | |
| : 294 (2.46%) | |
| nancydrew: 263 (2.20%) | |
| specialguude: 1 (0.01%) | |
| pyrao: 109 (0.91%) | |
| avidya: 73 (0.61%) | |
| specialadlington: 1 (0.01%) | |
| bdoubleo: 371 (3.11%) | |
| kurtzis: 466 (3.91%) | |
| specialkurt: 1 (0.01%) |
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
| import string | |
| lowercase=" "+string.lowercase | |
| def countPatterns(pattern, string): | |
| rep=string.replace(pattern, "L") | |
| return len(rep) | |
| def handleOverflow(listt, current): | |
| if listt[current] == len(lowercase)-1: | |
| if len(listt) == current+1: | |
| listt.append(1) | |
| else: |
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
| public Applet createApplet() throws ClassNotFoundException, | |
| InstantiationException, IllegalAccessException | |
| { | |
| Class<?> appletClass = classLoader | |
| .loadClass("net.minecraft.client.MinecraftApplet"); | |
| try | |
| { | |
| Class<?> mcClass = classLoader.loadClass("net.minecraft.client.Minecraft"); | |
| Field mcDirField = null; |