現在 github 有提出一系列對學生的優惠服務 詳情請點這裡
只要你是學生(擁有內含edu的信箱 ex:XXXXXX@mail.nchu.edu.tw)
如果你是學生又是黑客的話,就讓我們來申請吧!
namespace { | |
// redirect outputs to another output stream. | |
class redirect_outputs | |
{ | |
std::ostream& myStream; | |
std::streambuf *const myBuffer; | |
public: | |
redirect_outputs ( std::ostream& lhs, std::ostream& rhs=std::cout ) | |
: myStream(rhs), myBuffer(myStream.rdbuf()) |
void TakeScreenshot(const char *fname) | |
{ | |
printf("writing a screenshot to %s\n", fname); | |
int dimx = glutGet(GLUT_WINDOW_WIDTH); | |
int dimy = glutGet(GLUT_WINDOW_HEIGHT); | |
size_t imsize = 3*dimx*dimy; | |
char *pixels = (char*) malloc(imsize*sizeof(char)); | |
glReadPixels(0, 0, dimx, dimy, GL_RGB, GL_UNSIGNED_BYTE, pixels); |
現在 github 有提出一系列對學生的優惠服務 詳情請點這裡
只要你是學生(擁有內含edu的信箱 ex:XXXXXX@mail.nchu.edu.tw)
如果你是學生又是黑客的話,就讓我們來申請吧!
When many different people are working on a project simultaneously, pull requests can go stale quickly. A "stale" pull request is one that is no longer up to date with the main line of development, and it needs to be updated before it can be merged into the project. The most common reason why pull requests go stale is due to conflicts: if two pull requests both modify similar lines in the same file, and one pull request gets merged, the unmerged pull request will now have a conflict. Sometimes, a pull request can go stale without conflicts: perhaps changes in a different file in the codebase require corresponding changes in your pull request to conform to the new architecture, or perhaps the branch was created when someone had accidentally merged failing unit tests to the master branch. Regardless of the reason, if your pull request has gone stale, you will need to rebase your branch onto the latest version of the master branch before it can be merged.
#!/bin/sh | |
package_name=$1 | |
./gradlew assembleDebug | |
adb -d install -r app/build/outputs/apk/app-debug.apk | |
adb shell monkey -p "$package_name" -c android.intent.category.LAUNCHER 1 | |
./logcat.sh "$package_name" |
While there are a number of definitions, for our purposes, soft skills are all of the skills that are not technical. Meaning - the you that shows up the interview, as well as your technical ability. Your interview is composed of your technical prowess, as well as your soft-skills and ability to answer non-technical questions around teamwork, leadership, failure (yes), ability to adapt, timeliness, and communication skills.
If you have heard of the airport test - when hiring managers ask themselves would I want to be stuck in an airport with this person? - your non-technical stories will help them answer that question. In short: non-technical questions will ask you to tell a number of stories that supplement your technical mastery.
Interviews are subjective, based off of who’s interviewing you. When you prepare for soft-skill questions, understand the value that you can bring to a company as well as your goals and interests. You will deliver better answers and be more con
"workbench.colorCustomizations": { | |
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast. | |
"contrastActiveBorder": "", | |
"contrastBorder": "", | |
// Base Colors | |
"focusBorder": "", | |
"foreground": "", | |
"widget.shadow": "", | |
"selection.background": "", | |
"descriptionForeground": "", |
# -*- coding: utf-8 -*- | |
""" | |
Copyright (c) 2019 Valentin B. | |
A simple music bot written in discord.py using youtube-dl. | |
Though it's a simple example, music bots are complex and require much time and knowledge until they work perfectly. | |
Use this as an example or a base for your own bot and extend it as you want. If there are any bugs, please let me know. | |
Requirements: | |
Python 3.5+ | |
pip install -U discord.py pynacl youtube-dl |
Through the GitHub API it is possible to retrieve individual files from a Git repository via, e.g. curl
. To do so, first retrieve the content information for the relevant file (or folder):
curl https://api.github.com/repos/{organisation}/{repository}/contents/{file or folder path}
For private repositories, authenticate using your username and a personal access token
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true