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; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
namespace GomokuCharhan.Helpers | |
{ | |
static class DebugHelper | |
{ | |
[Conditional("DEBUG")] | |
[DllImport("Kernel32")] |
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
#! /usr/bin/env python | |
# coding:utf-8 | |
import subprocess | |
p = subprocess.Popen(['pgrep', '--count', 'conky'], shell=False, stdout=subprocess.PIPE) | |
p.wait() | |
if p.communicate()[0] == b'0\n' : | |
subprocess.Popen('conky', shell=True, stdin=None, stdout=None, stderr=None, close_fds=True) | |
#start conky 2 |
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
<Window x:Class="shinkou4f.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="龍神タイマー" SizeToContent="WidthAndHeight" Loaded="Window_Loaded"> | |
<Grid Width="640" Height="360" Background="Black" MouseDown="Grid_MouseDown"> | |
<MediaElement Name="MediaElement" Source="video.mp4" LoadedBehavior="Manual" UnloadedBehavior="Pause" Stretch="Uniform" MouseDown="MediaElement_MouseDown" IsHitTestVisible="False" /> | |
<Button Name="PlayButton" Content="▷" HorizontalAlignment="Right" Margin="0,0,10,58" VerticalAlignment="Bottom" Width="32" Click="PlayButton_Click"/> | |
<Button Name="PauseButton" Content="▕ ▏" HorizontalAlignment="Right" Margin="0,0,10,34" VerticalAlignment="Bottom" Width="32" Click="PauseButton_Click"/> | |
<Button Name="StopButton" Content="□" HorizontalAlignment="Right" Margin="0,0,10,10" VerticalAlignment="Bottom" Width="32" Click="StopButton_Click"/> | |
<Button Nam |
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
ファイナルファンタジーXIV: 蒼天のイシュガルド ベンチマーク | |
計測日時:2015/04/27 16:34:15 | |
SCORE:5184 | |
平均フレームレート:40.289 | |
評価:とても快適 | |
-とても快適な動作が見込めます。グラフィック設定をより高品質に設定しても、とても快適に動作すると思われます。 | |
ローディングタイム: | |
シーン#1 1.375sec | |
シーン#2 5.392sec | |
シーン#3 4.540sec |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace EratosthenesCsharp | |
{ | |
class Program | |
{ | |
static int Main() | |
{ |
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
/*-----------------------------------------------------------. | |
/ Choose effects / | |
'-----------------------------------------------------------*/ | |
// Effects are listed in the order that they are applied. | |
// Set to 1 for ON or 0 for OFF | |
#define RFX_UIMask 0 //[0 or 1] A mask that defines which areas of the screen will have no effects applied | |
#define RFX_Border 0 //[0 or 1] A mask that defines where a border effect is drawn | |
#define RFX_SplitScreen 0 //[0 or 1] Allows the various comparisons with the original image | |
#define RFX_DisplayDepth 0 //[0 or 1] Display Depth : Enables the possibility to display the depth buffer - You will still need to toogle it on/off with (F12) in-game | |
#define RFX_LogDepth 0 //[0 or 1] Needed to retrieve values from logarithmic depth buffer (e.g. in GTA V) |
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; | |
using System.Text; | |
using System.Threading; | |
namespace TinpoScroll | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
javascript:window.open('https://twitter.com/home?status='+encodeURIComponent('Now playing%3a '+document.getElementById('player-song-title').innerHTML+' - '+document.getElementById('player-artist').innerHTML+' / '+document.getElementsByClassName('player-album')[0].innerHTML+' https://play.google.com/music/listen?u=0#/album/'+document.getElementsByClassName('player-album')[0].getAttribute('data-id')));void(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
javascript:(function(){w=window;d=document;q=w.getSelection?w.getSelection().toString():d.getSelection?d.getSelection():d.selection?d.selection.createRange().text:'';if(!q)q=prompt('','');if(q)location.href='http://www.google.co.jp/webhp?hl=ja#safe=off&hl=ja&q='+encodeURIComponent(q);})() |