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
| diff --exclude=".svn" -rq ~/mounts/www.example.com/ /var/www/www.example.com/ |
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
| $(function(){ | |
| $(".img-profil").mouseover(function(e){ | |
| $(this).children('.interact').show(); | |
| }); | |
| $(".img-profil").mouseout(function(){ | |
| $(this).children('.interact').hide(); | |
| }); | |
| }); |
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
| update aul_posts set post_content = replace(post_content, "mystringtosearch", "mystringtoreplace") |
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
| class i18n_responder | |
| def initialize(app) | |
| @app = app | |
| end | |
| def call(env) | |
| [200, {"content-Type" => "text/html"}, "Hello, World!"] | |
| end | |
| end |
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
| (function (c) { | |
| var b = { | |
| openClass: "enoise-accordion-open", | |
| heightClosed: 100 | |
| }; | |
| var a = function (d, e) { | |
| return function (g) { | |
| var f = d.openClass; | |
| g = g || e.first(); | |
| e.each(function (index, el) { |
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
| function set_newuser_cookie() { | |
| if (!isset($_COOKIE['wp_exq_cookieTheming'])) { | |
| setcookie('wp_exq_cookieTheming', rand(0,5), time()+60*5, COOKIEPATH, COOKIE_DOMAIN, false); | |
| } | |
| } | |
| add_action( 'init', 'set_newuser_cookie'); | |
| /*based on some url : themes/exquiseV2/style/ */ | |
| /*Style_0.css */ | |
| /*Style_1.css */ |
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
| ffmpeg -f x11grab -b 1M -bt 2M -r 30 -s 512x512 -i :0.0+1,53 -an kinect.webm |
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
| class UsersController < InheritedResources::Base | |
| actions :show, :update, :index | |
| before_filter :authenticate_user! | |
| has_scope :max_age | |
| has_scope :min_age | |
| has_scope :sex | |
| has_scope :filter, :type => :array do |controller, scope, value| | |
| value = value.delete_if{|x| x == "-1"} |
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
| $ ps -ax | |
| $ #Kill all the related mysql process and direct run the next lines# | |
| $ sudo /usr/local/mysql/bin/mysqld_safe --user=mysql --skip-grant-tables --skip-networking & | |
| #direct log after execute bellow command# | |
| $ mysql -u root | |
| mysql > database mysql; |
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
| /** | |
| saucisse | |
| */ | |
| #titre { | |
| font-family: arial; | |
| margin-left : 20px; | |
| color : gray; | |
| } |
OlderNewer