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
[foohey@foo-arch ~]$ whois microsoft.com | |
Whois Server Version 2.0 | |
Domain names in the .com and .net domains can now be registered | |
with many different competing registrars. Go to http://www.internic.net | |
for detailed information. | |
Server Name: MICROSOFT.COM.ZZZZZZZZZZZZZZZZZZZZZZ.IS.A.GREAT.COMPANY.ITREBAL.COM | |
IP Address: 97.107.132.202 |
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
[foohey@foo-arch ~]$ whois google.com | |
Whois Server Version 2.0 | |
Domain names in the .com and .net domains can now be registered | |
with many different competing registrars. Go to http://www.internic.net | |
for detailed information. | |
Server Name: GOOGLE.COM.ZZZZZZZZZZZZZZZZZZZZZZZZZZ.HAVENDATA.COM | |
IP Address: 50.23.75.44 |
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
module ArticleAccess | |
extend ActiveSupport::Concern | |
included do | |
protect do |user, article| | |
## Guests | |
scope { where("publish_at < '#{Time.now}'") } | |
can :view |
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
<?php | |
$array = array('abc', 'zabc', 'zbac', 'bouh', 'AbC', 'Zoubidou'); | |
$array_size = count($array); | |
for ($i=0; $i < $array_size; $i++) { | |
for ($j=1; $j < $array_size; $j++) { | |
$holder = $array[$j]; | |
if (strtolower($array[$j]) < strtolower($array[$j-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
[Unit] | |
Description=Copier le noyau EFISTUB sur la partition système UEFI. | |
[Path] | |
PathChanged=/boot/vmlinuz-linux | |
PathChanged=/boot/initramfs-linux.img | |
PathChanged=/boot/initramfs-linux-fallback.img | |
[Install] | |
WantedBy=multi-user.target |
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
[Unit] | |
Description=Copier le noyau EFISTUB sur la partition système UEFI. | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/cp -f /boot/vmlinuz-linux /boot/efi/EFI/arch/vmlinuz-arch.efi | |
ExecStart=/bin/cp -f /boot/initramfs-linux.img /boot/efi/EFI/arch/initramfs-arch.img | |
ExecStart=/bin/cp -f /boot/initramfs-linux-fallback.img /boot/efi/EFI/arch/initramfs-arch-fallback.img |
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
/* | |
FIND WITH: url\(images\/([a-zA-Z\w+\-.]+)\)? | |
*/ | |
div { | |
background: url(images/ui-bg_glass_75_ffffff_1x400.png); | |
} | |
/* | |
REPLACE WITH: url(image-path("\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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>TestConsoleTheme</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
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 Users::SessionsController < Devise::SessionsController | |
respond_to :xml | |
before_filter :init_faye_client, if: "TEST_JABBER_INTEGRATION == true" | |
after_filter :close_faye_client, if: "TEST_JABBER_INTEGRATION == true" | |
def init_faye_client | |
@client = Faye::Client.new('http://localhost:9292/faye') | |
end |