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
| [niwadmin@new ecommerce]$ sudo yum list installed | grep mysql | |
| [sudo] password for niwadmin: | |
| libmysqlclient15.x86_64 5.0.77-4.el5_5.4.11062011 installed | |
| mysql.x86_64 5.5.14-11071510 installed | |
| mysql-connector-odbc.x86_64 3.51.26r1127-1.el5 installed | |
| mysql-libs.x86_64 5.5.14-11071510 installed | |
| mysql-server.x86_64 5.5.14-11071510 installed | |
| php53-mysql.x86_64 5.3.3-1.el5_7.6 installed | |
| plesk-mysql.x86_64 5.5-11053114 installed | |
| [niwadmin@new ecommerce]$ sudo yum install mysql-devel.x86_64 |
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
| sensae at glados in ~/code/work/ecommerce (master) | |
| $ heroku console | |
| Ruby console for niw-ecomm.heroku.com | |
| >> User.all | |
| => [#<User id: 2, name: "Chris Funes", email: "Chrisf@newiworld.com", encrypted_password: "73232049f86fa6b068120e3256c9c473f356fb46f13121d5ef5...", salt: "67087f8ed4a90370eaa0ba8483c79d2f2b1f9726ccb54b6ee35...", admin: true, password_reset_token: nil, password_reset_sent_at: nil, created_at: "2012-02-14 07:40:50", updated_at: "2012-02-14 07:53:27">, #<User id: 1, name: "Admin", email: "user@example.org", encrypted_password: "78c1145660240de044f01320851552e8d0b88f049304db71424...", salt: "a8ef80c0d7841313d0081c8bc6ec0601de023ee85721a472d77...", admin: false, password_reset_token: nil, password_reset_sent_at: nil, created_at: "2012-02-02 07:55:19", updated_at: "2012-02-14 07:53:30">] |
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
| sensae at SHODAN in ~/.config/Terminal | |
| $ sensors | |
| coretemp-isa-0000 | |
| Adapter: ISA adapter | |
| Physical id 0: +39.0°C (high = +80.0°C, crit = +98.0°C) | |
| Core 0: +36.0°C (high = +80.0°C, crit = +98.0°C) | |
| Core 1: +39.0°C (high = +80.0°C, crit = +98.0°C) | |
| Core 2: +40.0°C (high = +80.0°C, crit = +98.0°C) | |
| Core 3: +39.0°C (high = +80.0°C, crit = +98.0°C) |
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
| g++ -c main.cpp | |
| g++ -o main main.cpp -lsfml-system -lsfml-window -framework OpenGL |
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
| # CMAKE generated file: DO NOT EDIT! | |
| # Generated by "Unix Makefiles" Generator, CMake Version 2.8 | |
| # Default target executed when no arguments are given to make. | |
| default_target: all | |
| .PHONY : default_target | |
| #============================================================================= | |
| # Special targets provided by cmake. |
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
| cmake_minimum_required (VERSION 2.6) | |
| project (helloworld) | |
| add_executable (helloworld main.cpp myfile1.cpp myfile2.cpp myfile3.cpp) |
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
| Feature: Manage Blog Posts | |
| In order to make a blog | |
| I want to create and manage articles | |
| Scenario: Posts List | |
| Given I have posts titled Foo, Bar | |
| When I visit posts | |
| Then I should see Foo, Bar | |
| Scenario: Create a Post |
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
| # An example configuration file for MPD | |
| # See the mpd.conf man page for a more detailed description of each parameter. | |
| # Files and directories ####################################################### | |
| # | |
| # This setting controls the top directory which MPD will search to discover the | |
| # available audio files and add them to the daemon's online database. This | |
| # setting defaults to the XDG directory, otherwise the music directory will be | |
| # be disabled and audio files will only be accepted over ipc socket (using |
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
| def man(V,B,c): #Z, C, iter | |
| if abs(V)>=6: #Escape bound. 6 instead of 4 to give smoother fade | |
| return (2+c-4*abs(V)**-0.4)/255 #(0..1] | |
| elif c: | |
| return man(V*V+B,B, c-1) #Reiterate Z=Z*Z+C | |
| else: | |
| return 0 #In set | |
| v=1500 #width | |
| x=1000 #height | |
| from struct import pack |
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 Settings | |
| @conf_file = "My_Settings_String" | |
| class << self | |
| attr_accessor :conf_file | |
| end | |
| end |