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
#!/bin/bash | |
setxkbmap -query | grep "\Wtr" 1>/dev/null && setxkbmap us || setxkbmap tr | |
xmodmap /home/nurettin/.Xmodmap |
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
browser= Mechanize.new do |m| | |
m.history.max_size= 1 | |
end | |
@mech.get "https://www.google.com" | |
@mech.history.clear | |
GC.start |
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
I thought about posting this in the "mathematics of sudoku" forum, but really what it is is | |
a statement of the common (and maybe not so common) rules for solving Sudoku, both in plain | |
English and in logical notation. If you are just interested in solving Sudoku, ignore the | |
funny notation; if you are interested in the mathematics, enjoy the symmetry. | |
I suggest that the following set of rules may constitute the entire set of | |
"standard" methods (not including simple chain-based logic) used to solve Sudoku puzzles. | |
Included here are: |
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
#include <ios> | |
#include <fstream> | |
#include <vector> | |
#include <fann.h> | |
#include <fann_cpp.h> | |
void prepare_data(std::string const &name){ | |
std::ofstream file(name+ ".data", std::ios::trunc); | |
file<< "4 2 1\n" | |
<< "0 0\n0\n" |
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
#include <iostream> | |
#include <ode/ode.h> | |
#include <SDL.h> | |
#include <SDL2_gfxPrimitives.h> | |
dWorldID earth; | |
dJointGroupID contact_joint_group; | |
std::size_t const max_contacts = 10; | |
dContact contact[max_contacts]; |
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
#!/bin/bash | |
export MUJDE_HOME=$(pwd) | |
export MYSQL_HOME=$MUJDE_HOME/mysql/faal | |
export JRUBY_OPTS="--1.9 -J-Djruby.fork.enabled=true" | |
export JAVA_HOME=$MUJDE_HOME/kit/java/faal | |
export TORQUEBOX_HOME=$MUJDE_HOME/kit/torquebox/faal | |
export JBOSS_HOME=$TORQUEBOX_HOME/jboss | |
export JRUBY_HOME=$TORQUEBOX_HOME/jruby | |
export PATH=$MUJDE_HOME/bin:$JAVA_HOME/bin:$JRUBY_HOME/bin:$MYSQL_HOME/bin:$PATH | |
export PATH=`awk -F: '{for(i=1;i<=NF;i++){if(!a[$i]++)printf s$i;s=":"}}'<<<$PATH` |
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
pcm. !default { | |
type hw | |
card 1 | |
} | |
ctl. !default { | |
type hw | |
card 1 | |
} |
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
[Alsa] | |
card=hw:1 | |
[StatusIcon] | |
stepsize=5 | |
lmb_slider=true | |
onclick=xfce4-mixer | |
theme=Default |
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
[Alsa] | |
card=hw:1 | |
[StatusIcon] | |
stepsize=5 | |
lmb_slider=true | |
onclick=xfce4-mixer | |
theme=Default |
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
14:36:46,907 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."TIP-knob.yml".CONFIGURE_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."TIP-knob.yml".CONFIGURE_MODULE: JBAS018733: Failed to process phase CONFIGURE_MODULE of deployment "TIP-knob.yml" | |
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.x.incremental.1.jar:7.1.x.incremental.1] | |
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] | |
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_05] | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_05] | |
OlderNewer