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
| #include <stdio.h> | |
| #include <math.h> | |
| #include <iostream> | |
| #include <GL/glut.h> | |
| using namespace std; | |
| int pntX1, pntY1, pntX2, pntY2, choice = 0; | |
| double x, y, length, xinc, yinc; | |
| int round(double d) |
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
| using System; | |
| namespace _1.Tic_Tac_Toe | |
| { | |
| public class TicTacToe | |
| { | |
| public char[,] gameBoard = new char[3,3]; | |
| public char choice; | |
| public int player = 0; |
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
| using System; | |
| using System.Collections; | |
| namespace BasicProductManagement | |
| { | |
| class Product | |
| { | |
| private static ArrayList arrItems = new ArrayList(); | |
| private string ProductID; |
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
| #include <stdio.h> | |
| #include <iostream> | |
| #include <GL/glut.h> | |
| using namespace std; | |
| int minX, minY, maxX, maxY; | |
| int fstX, fstY, sndX, sndY; | |
| int code1[4] = { 0, 0, 0, 0 }; | |
| int code2[4] = { 0, 0, 0, 0 }; |
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
| #include <stdlib.h> | |
| #include <iostream> | |
| #include <math.h> | |
| #include <Windows.h> | |
| #include <GL/glut.h> | |
| using namespace std; | |
| bool isWin, isLost; |
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
| ## Better life check on laptop | |
| powercfg -energy -output <location> |
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
| ## Change grub to save last boot option: | |
| sudo nano /etc/default/grub | |
| GRUB_DEFAULT=saved | |
| GRUB_SAVEDEFAULT=true | |
| sudo update-grub |
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
| # Set mouse customize config on window | |
| Setting > Window Management > Window Behavior > Window Actions > Inner Window, Titlebar & Frame > Modifier key > Meta | |
| ====================================== | |
| # Set transparency for all window | |
| Setting > Window Management > Window rules > New |
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
| export PATH="/usr/local/bin:$PATH" | |
| source $HOME/antigen.zsh | |
| # Imports | |
| POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k | |
| # Load the oh-my-zsh's library. | |
| antigen use oh-my-zsh |
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
| export PATH="/usr/local/bin:$PATH" | |
| source $HOME/.antigen.zsh | |
| # Imports | |
| POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k | |
| # Load the oh-my-zsh's library. | |
| antigen use oh-my-zsh |
OlderNewer