You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be
This document discusses best practices for improving Dockerfiles. It provides examples of optimizing Dockerfiles to reduce image size, build time, and improve maintainability. Specific techniques covered include using multi-stage builds, caching dependencies, copying specific files rather than entire contexts, and leveraging official images when possible. New Dockerfile features like context mount
With the recent announcement of unlimited private repositories, let's take a few minutes before we push up the code we donât want anyone else to see, and make sure weâre making the most of what GitHub has to offer. GitHub is built with some extremely helpful shortcuts and productivity-boosting features. From personal experience, however, itâs clear that these often fall under the radar amongst dev
Even if you are an experienced *nix guru there are a couple of examples further down that are only available in later versions of OpenSSH. Take a look at Proxy Jump -J and reverse dynamic forwarding -R. First The Basics Breaking down the SSH Command Line The following ssh example command uses common parameters often seen when connecting to a remote SSH server. localhost:~$ ssh -v -p 22 -C neo@remo
ATTENTION: Help shape the future of Azure Tips and Tricks by telling me what youâd like for me to write about! Help me help you by filling out this quick survey. Intro As requested here is the complete list of all Azure Tips and Tricks. Feel free to follow me on twitter or stay tuned to this blog for future updates. The Complete List (Unsorted) Azure Tips and Tricks Part 01 - Use Keyboard Shortcut
By Peter Gleeson Python is one of the worldâs most popular, in-demand programming languages. This is for many reasons: itâs easy to learn itâs super versatile it has a huge range of modules and libraries I use Python daily as an integral part of my job as a data scientist. Along the way, Iâve picked up a few useful tricks and tips. Here, Iâve shared some of them in an A-Z format. Most of these âtr
Too Long; Didn't ReadIf you think i should i add anymore or have suggestions please do comment. iâll keep on updating this blog. Python tips which are relatively uncommon and are very useful. Talk is cheap show me the code Swapping values Create a single string from all the elements in list Find The Most Frequent Value In A List. Checking if two words are anagrams Reverse a String Reverse a list T
All the best things about VS Code that nobody ever bothered to tell you
è«çæ§ã®é«ã commit ãä½ãæ¹æ³ git rebase -i ã³ãã³ããæ´»ç¨ããã rebase -i ã使ç¨ãããã¨ã§ commit ã® çµå/åå²/æ¸ãæã/é åºå ¥ãæ¿ã ãå¯è½ã 以ä¸ã§ã¯ä¸çªä½¿ãã§ãããçµå(squash)ã«ã¤ãã¦ç´¹ä»ãã¾ãã $ git log --oneline bfc2a57 (HEAD -> master) TOPç»é¢ã®å®è£ e84e22e ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®typoä¿®æ£ ba76419 ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®è¿½å ãããªæãã® commit log ããã£ãã¨ãã¾ãã ãããããã¡ãªã±ã¼ã¹ã ã¨æãã¾ãã typoä¿®æ£ã ãã®ã³ããããªãã¦ã¾ã¨ãã¦ãã¾ãããã§ãããã ãã㧠git rebase -i ã®åºçªã§ãã $ git rebase -i HEAD~3 # HEAD 㯠@ ã¨ãæ¸ãããä¾¿å© $ git rebase -i @~3 ä¸ã®ã³ãã³ãã§H
Buy this domain. nyarn.tech 2020 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy
KIT LT #1ã§çºè¡¨ããã¹ã©ã¤ãã§ã
ãã®è¨äºã¯ Git Advent Calendar 2016 ã® 20 æ¥ç®ã§ããgit ã³ãã³ããæ¥å¸¸çã«å®è¡ããããã§ãããå¤é¨ã¹ã¯ãªãããªã©ã§å人çã«æ¥ã æ¹åãã¦ããã話ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ããã ãã©ã³ãåãæ¿ããææ©ããã git ãªãã¬ã¼ã·ã§ã³ã§ add,commit 並ã«å¤ç¨ããã¨æãã®ããã©ã³ãåãæ¿ãã§ãç¹ã« remote ã«ãã branch ã®åãæ¿ããªã©ãã·ã§ã¼ãã«ãããããã¹ã¯ãªãããæ¸ãã¾ããã $ git br 㧠fzf/peco ãªã©ã®ãã£ã«ã¿ã§åãæ¿ãã¦ããã¾ãããã©ã³ãåãæ¿ãç³»ã¯ãããã tips ãªã®ã§ãããä½ã便å©ãã¨ããã¨ãremotes/origin/HOGE ãªã©ã®ãªã¢ã¼ãã«ãããªããã©ã³ã㯠git checkout -b HOGE remote/origin/HOGE ãã¦ãããããã«ãªã£ã¦ããã®ã§æ°ã«ããã« checkout ã§ãã¾ã
Pythonã使ã£ã¦ãã®æ¹ãã¾ãã¾ãªç¹ã«ã¤ã¾ãããããããã§ã¯ãããªãã©ãããåé¿ãã¦å¿«é©ãªPython Lifeãéã£ã¦ããã ãã¹ããæ¸ãå§ããåã«ç¥ã£ã¦ããã°ããã£ãã¨ããTipsãã¾ã¨ãã¦ããã Python2ç³»ã¨3ç³»ã«ã¤ã㦠Pythonã«ã¯2ç³»ã¨3ç³»ãããã3ç³»ã§ã¯å¾æ¹äºææ§ã«å½±é¿ã®ããå¤æ´ãå ¥ãããã¦ãããã¤ã¾ããPython3ã®ã³ã¼ãã¯Python2ã§ã¯åããªããã¨ããã(éãããã)ã Python3ã§ã¯Python2ã«ãããæ§ã ãªç¹ãæ¹åããã¦ãããä»ãã使ããªãææ°çã®Python3ã§è¡ãã®ãåºæ¬ã (ä¸è¨ã§ããPython3ã§æ¹åããããã®ã¯æè¨ããããã«ãã)ãä½ãããPython2ã¯2020å¹´1æ1æ¥ããã£ã¦ãµãã¼ããçµäºããããã£ã¦ä»ããPython2ã使ãçç±ã¯ãªããæªã ã«Python2ã使ãè ã¯ãå°å¦çã«ããã£ã¹ãããã ããããä¸ã®ä¸ã«ã¯ã¾ã Python3ã«
final class DeviceConst { let osName = "iOS" // NOTE: ã³ã¹ãã®é«ãå¤æ°(å®æ°)ã¯ãlazy ãã¤ãã¦ã¯ã©ã¹ã®åæåã³ã¹ããæããæ¹ãè¯ããã(é 延è©ä¾¡) // ä½ãããã®ã¯å ´åã¯å¤§ããå¦çã§ããªãã®ã§ã»ã¨ãã©å¤ãããªãã¨æãã¾ããããã lazy var osVersion = UIDevice.currentDevice().systemVersion lazy var appVersion = NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"] as? String ?? "" lazy var appName = NSBundle.mainBundle().infoDictionary?["CFBundleName"] as? String ??
git ã¯ãã³ã¼ããã¼ã¹ã®çºå±éç¨ãè¨é²ããéçºè éã®ååä½æ¥ãå¹çåããå¼·åãªãã¼ã«ã§ããã§ããè¨é²å¯¾è±¡ã®ãªãã¸ããªãã¨ã¦ã¤ããªã巨大ãªãã®ã«ãªã£ãã¨ãã¯ä½ãèµ·ããã®ã§ããããï¼ ãã®è¨äºã§ã¯ãããã¤ãã®ç°ãªãæå³ã§ã®å·¨å¤§åã«æ£ãã対å¦ããããã®ã¢ã¤ãã¢ã¨ææ³ãå°ãç´¹ä»ãã¦ã¿ããã¨æãã¾ãã äºç¨®é¡ã®Â 巨大ãªãªãã¸ã㪠ããèãã¦ã¿ã㨠巨大ãªãªãã¸ã㪠ãçããçç±ã¯ããã¾ãã«è¨ã£ã¦äºã¤ããã¾ã: é常ã«é·ãæéã«ããã£ã¦å±¥æ´ãç©ã¿ä¸ãããã (ããã¸ã§ã¯ããé常ã«é·ãæéç¶ç¶çã«æ¡å¤§ãç¶ããããã«éçºææãç©ã¿éãªã£ã) å ´å 巨大ã§ãããå±¥æ´ã®è¨é²ãå¿ è¦ãªãã¤ã㪠ãã¼ã¿ãåå¨ãããããã³ã¼ãã«åæ ãããå ´å ãã®ä¸¡æ¹ã®å ´å å³ã¡ããªãã¸ããªã®å·¨å¤§åã¯äºã¤ã®ç°ãªãæ¹åã«åãã£ã¦èµ·ãããã¨ã«ãªãã¾ããããã¯ãä½æ¥ãã£ã¬ã¯ããªã®ãµã¤ãº (å³ã¡ç´è¿ã®ã³ãããã®ãµã¤ãº) ã®åé¡ã¨å ¨ä½ã®å±¥æ´
45-useful-javascript-tips-tricks-and-best-practices.md 45 Useful JavaScript Tips, Tricks and Best Practices By Saad Mousliki 御åç¥ã®éããJavaScriptã¯æ°ããããã°ã©ãã³ã°è¨èªã®ãã¡ã®ã²ã¨ã¤ã§ãããã¢ãã¤ã«ã®ãã¤ããªããã¢ããªï¼PhoneGapãAppceleratorã¨ãã£ãï¼ãããµã¼ãã¼ãµã¤ãï¼NodeJSãWakandaï¼çã®æ§ã ãªæã§å®è£ ããã¦ããWebã®è¨èªã§ãã ã¾ããWebãã©ã¦ã¶ã«alertãåºãã¨ããããããããããåãã(nodebotãnodruinoã使ã£ã¦)ã¨ããã¾ã§æ§ã ãªã·ã¼ã³ã§ä½¿ãããè¨èªã¨ãªãã¾ããã JavaScriptããã¹ã¿ã¼ããããã©ã¼ãã³ã¹ã®è¯ãã³ã¼ããçã¿åºãéçºè ã¯å¸å ´ã§æãæ±ãããã¦ãã¾ãã ãã®è¨äºã§ã¯ããã©
Git åå¿è ãä¸ç´è ã«åãã¦ãç®ç«ããªããã©ä¾¿å©ãªã³ãã³ããç´¹ä»ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}