Commit-Messages in Git werden oft vernachlässigt. Viele sehen sie lediglich als notwendiges Übel an, um Änderungen zu speichern. Dabei sind aussagekräftige Commit-Messages ein entscheidender Faktor für den Erfolg eines Projekts: Sie sorgen eine gute Nachvollziehbarkeit von Änderungen, eine effiziente Zusammenarbeit im Team und eine schnellere Fehlersuche. Kein Grund, die Commit-Messages automatisch mit Hilfe von KI erstellen zu lassen.
...Der Februar hat manchmal eine ungewöhnlich ansprechende Form im Kalender. Beispielsweise konnte man im Februar 2021 einen solchen Moment zu erleben, einen "perfekt rechteckigen Februar" zu sehen. Dieser seltene Effekt tritt auf, wenn der Februar genau \(28\) Tage hat und der 1. Februar auf einen Montag fällt. Aber wie oft kommt das tatsächlich vor und wie lange muss man auf das nächste Mal warten?
...CSS ist für die meisten von uns immer noch verwirrend: Es hat hunderte schlecht benannte Eigenschaften, von denen jede das Ergebnis auf nicht intuitive Weise beeinflussen kann. Die vertikale Positionierung von Elementen in der Webentwicklung ist tricky und hat in der Vergangenheit oft Kopfzerbrechen bereitet. Doch diese Zeiten sind glücklicherweise vorbei.
...CSS-Übergänge sind eine gute Möglichkeit, Interaktivität zu erzeugen. Es genügt, transition
auf den Ausgangszustand eines Elements anzuwenden, und der Browser animiert den Übergang zwischen den beiden Zuständen. Übergänge für intrinsische Elementgrößen wie auto
sind jedoch seit Jahrzehnten ein Problem für Webentwickler, und die einzige Möglichkeit bestand darin, die Höhe dynamisch mit JavaScript zu berechnen.
Es gibt kein \(n \in \mathbb{Z}^+\), so dass \(0 < n < 1\).
...Die Physiker George Gamow und Marvin Stern bemerkten im Jahre 1950 ein interessantes Phänomen: Gamow, der ein Büro im ersten Stock eines sechsstöckigen Gebäudes hatte, bemerkte, dass der nächste ankommende Fahrstuhl in fünf von sechs Fällen nach unten fuhr, obwohl er nach oben wollte. Stern, der im fünften Stock arbeitete, beobachtete das Gegenteil.
...Ein Quine-Programm oder Quine ist ein Programm, das beim Ausführen seinen eigenen Quellcode ausgibt. Ein Quine darf nicht „aus sich selbst heraustreten“, indem es beispielsweise den Inhalt der Datei ausdruckt, in der es enthalten ist, oder introspektive Fähigkeiten verwendet, um seine eigene Darstellung auszudrucken. Stattdessen muss es seinen eigenen Quellcode berechnen.
...Mächtige Tools wie logrotate erleichtern die Arbeit bei der Rotation von Log- oder Backup-Dateien erheblich. So werden die Dateien nach einer bestimmten Zeitspanne oder wenn sie eine bestimmte Größe erreichen, rotiert. Wer auf einem entfernten Server dieses Tool nicht zur Verfügung hat und nur remote SSH-Kommandos ausführen kann, kann sich selbst mit einem kleinen Bash-Script behelfen, das alte Dateien löscht und dabei nur einen Request absetzt.
...In der Welt der Zahlen stößt man immer wieder auf überraschende Muster, die sowohl verblüffend als auch erhellend sein können. Eine solche Kuriosität ist das Benford’sche Gesetz, auch bekannt als das Gesetz der ersten Ziffer. Dieses mathematische Phänomen beschreibt die Häufigkeitsverteilung der ersten Ziffern in vielen realen Datensätzen und bietet interessante Einblicke in die Natur von Zahlen, wie sie in unserer Umwelt vorkommen.
...Ich habe zwei Kinder und einen Sohn, der an einem Donnerstag geboren wurde. Wie groß ist die Wahrscheinlichkeit, dass ich eine Tochter habe? Bezeichnen wir die Wochentage mit den Zahlen \(1, 2, … , 7\) mit \(1\ =\) Montag, \(2 =\) Dienstag und so weiter. Jetzt können wir das Ereignis als „am Tag \(n\) wurde ein Junge geboren“ als \(B_n\), und ebenso ähnlich für \(G_n\) definieren.
...Unter der Annahme, dass die Anzahl \(Y\) aller Menschen, die jemals geboren wurden und irgendwann geboren werden, begrenzt ist, sei \(x\) Deine absolute Position vom Beginn der Liste. Dann ist \(0 < \frac{x}{Y} \leq 1\). Wir können nun mit einer Wahrscheinlichkeit von \(95\%\) sagen, dass Du unter den letzten \(95\%\) aller jemals geborenen Menschen bist, also \(0,05 < \frac{x}{Y} \leq 1\) und damit \(Y < \frac{x}{0,05} = \frac{100 \cdot x}{5} = 20 \cdot x\).
...Umusho olandelayo waziwa ngokuthi "indida yophuzo": "Kunomuntu eshibhini kangangokuthi uma ephuza, wonke umuntu endaweni yokuphuza uyaphuza." Akunandaba ukuthi lowo muntu oyedwa ukhuthaza abanye ukuthi baphuze noma omunye umnyango wangemuva ukhona, njengoba sizobona ngomzuzwana. Kuyisibonelo esihle esivela ku-logic ye-oda lokuqala lezibalo.
...Umfana ucabanga inombolo ethi \(1\) , \(2\) noma \(3\) bese intombazane ivunyelwe ukubuza umbuzo owodwa ngaleyo nombolo. Umfana angaphendula kuphela " Yebo ", " Cha ", noma " Angazi " . Ngokubuza imibuzo ehlakaniphile, intombazane iyakwazi ukusho inombolo efanele umfana abecabanga ngayo ngemva kokuba umfana eseyiphendulile. Uthini umbuzo wakho?
...Cabanga ukuthi ngolunye usuku uthola iphasela elingaqondakali elingenamthumeli. Unelukuluku lokwazi, uvula leli phakethe bese uthola indandatho oyinikeza indodakazi yakho. Emashumini eminyaka kamuva, uyena ongasebenzisa i-wormhole ukuthumela izinto ngesikhathi. Lokhu ukwenza ngendandatho owake wamnika yona, isongwe ngephasela akubhekise kuwena. Umbuzo uthi: iphumaphi indandatho?
...Njengenye indlela ye- Travis CI ehlonishwa kakhulu, I- GitHub Actions nayo isinesikhathi eside ikhona.Njengethuluzi eliqhubekayo lokuhlanganisa, ihlanganiswe kahle kakhulu kuplathifomu yekhodi ye-GitHub futhi manje izinzile kakhulu. Izenzo ze-GitHub zisekelwe kumafayela okulungiselela e-YAML abekwe endaweni yokugcina lapho kufanele kusebenze ukugeleza komsebenzi.
...Ngo-1961 uJames noStein bashicilela iphepha elithi Estimation with Quadratic Loss . Thatha idatha esabalaliswe ngokuvamile enencazelo engaziwa \(\mu\) kanye nokwehluka \(1\) . Uma manje ukhetha inani elingahleliwe \(x\) kule datha futhi kufanele ulinganisele incazelo \(\mu\) ngesisekelo salokhu, ngokunembile \(x\) isilinganiso esinengqondo se- \(\mu\) (njengoba ukusabalalisa okuvamile kukhona, okukhethwe ngokungahleliwe \(x\) cishe kuseduze \(\mu\) ).
...Kudala kumenyezelwe - manje okuyiqiniso : I-Microsoft ivale ukufakazela ubuqiniso ngephasiwedi yezivumelwano ezithile ku-Exchange Online kusukela ngoSepthemba 2022 ukuze ivune i-oAuth2. Izinkinga ze-GitHub zemitapo yolwazi eminingi kanye nemibhalo eyisipele yenza kucace ukuthi uguquko lwamangaza abaphathi abaningi. Ngezansi sibonisa indlela yokuthi ungaqhubeka kanjani nokufinyelela okuqukethwe kwebhokisi lakho leposi le-Exchange ngosizo lwe-oAuth2 nge-PHP usebenzisa i-IMAP.
...Ama-UUIDs (Izihlanganisi ze- ID eziyingqayizivele) zingamanani angu-128-bit asetshenziswa kusizindalwazi, phakathi kwezinye izinto, ukuhlonza okufakiwe kwethebula ngokukhethekile. Amelwe njengeyunithi yezinhlamvu enehexadecimal ehlukaniswe ngamaqembu amahlanu ahlukaniswe ngamakhonco (Isibonelo: 09fe49b3-4d2b-471c-ac04-36c9e706b85f
). Nakhu amaningi Izingxoxo mayelana nezinzuzo kanye nokubi kwama-UUID kusizindalwazi - abalulekile ezinhlelweni ezisabalalisiwe.
Idatha ebucayi noma ukusetshenziswa kwememori kakhulu: Kunezizathu ezinhle zokufuna ukushintsha umlando we-Git. Kulokhu okuthunyelwe kwebhulogi , ngichaze ukuthi uwahlanza kanjani amafayela emlandweni we-Git usebenzisa i- BFG . Iphuzu elibuthakathaka le-BFG ukuntuleka kokusekelwa kwezindlela eziqondile , ngakho awukwazi ukususa ngokuqondile amafayela noma amafolda kumafolda amancane emlandweni. Ngalokho, sekuyisikhathi sokubheka ezinye izixazululo.
...tl; dr: Setha ngokuzenzela inani noma amanani azenzakalelayo we WP_MEMORY_LIMIT
/WP_MAX_MEMORY_LIMIT
zingabi namphumela uma WP_MEMORY_LIMIT
/WP_MAX_MEMORY_LIMIT
ngaphansi noma okulingana nomkhawulo wememori we-PHP (ngemuva kwalokhu memory_limit
ebizwa) yi. Asetshenziselwa ukusetha amanani aphansi kakhulu we memory_limit
ngokushintshashintshayo ukuya kokuncane okunconyiwe.
Uma ushumeka i-iframe yenkampani yangaphandle (njengewijethi), awukwazi ukufinyelela okuqukethwe kwayo nge-CSS noma i-JavaScript (ngenxa yalokho okubizwa ngokuthi inqubomgomo yemvelaphi efanayo ). Nokho, kunenqubo elula kakhulu yokulungisa noma iyiphi ikhodi (nakwamanye amafayela alayishwa kabusha ngaphakathi kwe-iframe). Ukwenza lokhu, uhambisa i-URL ngommeleli wakho we-PHP futhi uguqule okuqukethwe ngendlela ofisa ngayo.
...I- ANTON ingenye yezinhlelo zokusebenza zokufunda ezidume kakhulu zabafundi bamabanga 1-10. Ikilasi. Uma uthi nhlá, isici se-gamification sokuthola izinhlamvu zemali ("izinhlamvu zemali") singase sibonakale siyinqaba kubantu abadala - kodwa siphindaphinda ngokuphawulekayo ugqozi, hhayi ezinganeni zami kuphela. Igcina ngisho "umcamelo" omncane wezinhlamvu zemali ongazithinti.
...Njengoba kwaziwa, i-IBAN yaseJalimane iqukethe ikhodi yezwe (DE), idijithi yesheke enezinombolo ezimbili (ngokwe- ISO 7064 ), ikhodi yasebhange (amadijithi angu-8) kanye nenombolo ye-akhawunti (kuhlanganise nenombolo ye-akhawunti encane, 10). -idijithi, amadijithi alahlekile agcwaliswa ngoziro abaholayo) ngakho-ke inamadijithi angama-22. Ukuze ubale idijithi yesheke, lokho okubizwa nge-BBAN (ikhodi yasebhange nenombolo ye-akhawunti) kanye nekhodi yezwe yezinombolo \(1314\) yaseJalimane kanye nedijithi yesheke \(00\) ) kwakhiwa.
...Ngobusuku bokugcina bomndeni, umdlalo we- Dobble (ku-Harry Potter Edition) walethwa ngentshiseko etafuleni yizingane. Ngemuva komjikelezo wesi-5 olahlekile (ngaphandle kokushaya okubonakalayo kwekhadi lami ngekhadi lokudlala) ngatshelwa, ngokumangala kwami, ukuthi wonke umdlali angathola njalo ukushaya kuwo wonke umzuliswano. Kodwa ukungakholwa kwami kwavunywa kuphela ngokulahleka okwengeziwe - izingane zazishesha nje.
...Uyazi: Isikhathi esilindelekile phakathi kwamabhulokhi amabili e-Bitcoin siphakathi kwamaminithi \(10\) amaminithi. Manje wenza ukuthengiselana okubalulekile kwe-Bitcoin futhi ulinde ngokulangazela ukubona ukuthi ivela nini futhi nini kubhlokhi elandelayo:
e50bfacc95975a4e7545d83d8954645f
...Embikweni wamasonto onke we - RKI wangomhla ka-11.11.2021 kubhalwe ekhasini 22 ukuthi \(36\%\) weziguli ze-corona ezineminyaka engaphezu kwengama-60 egunjini labagula kakhulu zase zigonywe ngokugcwele. Kuleli qembu lobudala, \(87\%\) bagonywe ngokuphelele ngalesi sikhathi (bheka ikhasi 18).
...Kanye no- Xovi, ithuluzi le- SISTRIX wuhlelo lokuhlaziya olusetshenziswa kakhulu eJalimane endaweni ye-SEO. Inkomba yokubonakala izimise njengezinga elilinganayo lokubonakala kwekhasi kusesho lwe-Google. Imingcele efakwe ekubalweni kwayo, isibonelo , ichazwe lapha nalapha futhi lapha nalapha nalapha , kodwa ifomula yokubala eqondile ayishicilelwa ngokusemthethweni. Okulandelayo yimiphumela yocwaningo lwami lomuntu siqu lwezinyanga eziyisithupha, olungasho ukuthi luphelele noma alulungile.
...Izinombolo zedesimali eziphelele zibizwa ngokuthi amafrakhishini edesimali, ngoba ziwumfanekiso ohlukile wamaqhezu anamandla ayishumi kudinominetha. Kanjalo:
$$\frac{z}{n} = \frac{q_1}{1} + \frac{q_2}{10} + \dots + \frac{q_k}{10^k}$$
ngokuthi \(k \in \mathbb{N}\) kanye \(q_k\) \(k-1\) -th indawo kwesokudla ngemva kwekhefana.
...Ukusetshenziswa kwe- nvm kunconyelwa ukufakwa okusheshayo nokuguqulwa kwezinguqulo zama-node. Uma ufuna ukucacisa ngokusobala inguqulo ye-node edingekayo kuphrojekthi, ubeka ifayela elibizwa ngokuthi .nvmrc nenombolo yenguqulo ngqo (isb. "12.10.0") kufolda efanayo lapho kutholakala khona iphakheji.json . Uma manje ushintshela kufolda, isandiso esilandelayo sefayela ~ / .bash_profile ye-bash sisebenzisa umyalo wokusetshenziswa kwe-nvm , ebeka lolu hlobo ngokuzenzakalela:
fe497e1c7f9f1547263eb3bffe15f9f6
...Kusukela lapho ukwakhiwa kwewebhu okuphendulayo, abathuthukisi bebelokhu bebuza ukuthi kungenzeka yini ukuthi baklame izinto ze-DOM ngokususelwa kusayizi wazo wangempela hhayi ngosayizi wembobo yokubuka esipheqululini (ngosizo lwemibuzo yabezindaba ). Eqinisweni, imibuzo yesiqukathi ( imibuzo yokuqala yento) mhlawumbe umsebenzi oceliwe kakhulu we-CSS iziphequluli ezingenawo .
...Imininingwane ebucayi njengamaphasiwedi kufanele ibe kumafayela e-.env futhi, uma kungenzeka, ingagcini ezinqolobaneni zeGit. Kepha kungenzeka ukuthi kwenzeke kithi ngamunye okungenani kanye ngephutha: Ishicilele ngokushesha umbhalo omuhle weGoogle Maps JS API ku- GitHub Gists ("njengomphakathi") ngaphandle kokufihla ngephutha ukhiye wethu we- Maps API oyimfihlo.
...Uma ufuna ukuphuma isithombe ngosizo i SVG, ukusetshenziswa CSS impahla isiqeshana endleleni Kunconywa. Iskripthi esilandelayo sibangela izithiyo eziyinqwaba: I-SVG ingagcinwa ngosizo lwe-Illustrator, ungacacisa i-URL (yesihlobo noma ephelele) ye-SVG (i-Chrome isekela kuze kube manje ngokwesendalo kuphela emgqeni we-SVG) futhi i-neckline nayo iphendula ngokuphelele.
...Ngosizo lwemfanelo ye- meta_query kusigaba esinamandla se-WordPress WP_Query , okuthunyelwe kungahlungwa okunamanani athile emikhakheni yabo ye-meta. Uma udale inkambu ye-meta enemigqa eminingi (isb. Ngosizo lwe- Advanced Custom Fields ) futhi ufuna kuphela ukuthola okuthunyelwe okuqukethe inani elithile kule nkambu elihlukaniswe ngamakhefu womugqa, kuyanconywa umhlaba we- REGEX we-MySQL.
...Esihlokweni esedlule ngichaze ukuthi umuntu angahlanganisa kanjani kalula izithombe ezivela ku- Adobe Animate kwiwebhusayithi ngokusebenzisa ukuhanjiswa kwempahla ye-APNG. Kukhona futhi indlela yendabuko ngokuthunyelwa kwe- canvas kwe- HTML5 , kepha noma ngubani oseke wasebenza nayo uzothola ukuthi ibhajwe kuyo yonke indawo (ukwesekwa okwanele kokuphendula, ukuhlanganiswa okunzima kwiwebhusayithi esivele ikhona, awekho amazinga ohlaka ahlukile ngopopayi ngamunye, njll.).). Umtapo wolwazi we- adobe-animate-embed unikeza ikhambi lapha.
...Ngokuvamile, lapho uhlanganisa i-Google Maps, usebenza ne- Maps JavaScript API , edinga ukhiye we-API futhi engadala izindleko ezingafanele ukubukelwa phansi ngezinombolo zokufinyelela eziphakeme. Kunezinye izindlela ezinhle ezifana nebhokisi lemephu noma i- OpenStreetMap , kepha okwamanje azikazifezi izinhlobo zezici ezinikezwa yiGoogle . I-Google uqobo inikela ngendlela ngaphandle kokhiye we-API ngomsebenzi wokwabelana, esingasisebenzisela izinhloso zethu.
...Ukwesekwa kwesiphequluli samafayela e-animated we-PNG manje sekulunge kangangokuba ukugqwayiza okwenziwe nge- Animate CC kungathunyelwa kalula ku-APNG bese kufakwa kuwebhusayithi kumaki olula we- <img>. Le yindlela elula nekhwalithi enhle yokushicilela ku-Animate CC, edala iJavaScript.Izinyathelo ezizothathwa zichazwe ngezansi.
...Uma ufuna ukwandisa ukusesha kwe-WordPress kwendabuko, ngokwesibonelo, izinkambu ze-meta, kungakuhle ukuthi ubheke izihlungi ezixoshiwe. I- posts_search hook iyanconywa ukuze i-pagination iqhubeke nokusebenza futhi nokwenza ngcono okuzayo ekusesheni kungakhanselwa . Ngosizo lwe- REGEXP nemisebenzi ye- ExtractValue , ikhodi elandelayo inweba lokhu kusesha ukufaka okuthunyelwe okuqukethe elinye lamagama okusesha afakwe kuzo zonke izinkambu ze-meta.
...Ngenkathi uKurt Gödel eshicilela iThe Incompleteness Theorems yakhe edumile ngo-1931, yazamazamisa izisekelo zomqondo wezibalo: Waphika ukuthi zonke izifinyezo ezingasethwa njengesisekelo kungenzeka ukuthi aziphelele ukuze kufakazelwe zonke izitatimende ngezinombolo - futhi wakushabalalisa lokho Iphupho likaHilbert lokufakazela ukuvumelana kombono wezibalo.
...Ngaphandle kwakho konke ukukhathazeka kokuvikelwa kwedatha, i- WhatsApp kuseseyi-app eyintandokazi yezithunywa zaseJalimane. Ngaphezu kohlelo lokusebenza olukhethekile lwe- WhatsApp Business , i-Facebook iphinde yakha i-interface esemthethweni, i-WhatsApp Business API, ukuyenza ibe mnandi kakhulu ezinkampanini. Uma ufuna ukuthumela imiyalezo ye-WhatsApp ngokuhlelekile kusuka kuhlelo lwakho lokusebenza lwewebhu, kunezinye izindlela futhi.
...Uma usebenzisa izinto ezifana nokumbondelana (okuwumthetho ngezikhathi ze-GDPR actionism) futhi ufuna ukuthambisa indawo engemuva kwembondela, ngokwesibonelo, uvame ukuhlangabezana nenkinga yokuqukethwe kwesitaki . Isibonelo, uma unezinto ezibekwe ngokuphelele noma zisesimweni esinqunyiwe, zikhonjiswa ngokungazelelwe ngokuhlukile ngaphandle kwesihlungi esisetshenzisiwe. Kepha kukhona ikhambi.
...Awudingi ukusebenzisa ithuluzi elinamandla njenge- Google Optimize yokuhlola okulula kwe-URL, futhi ungaxazulula i-Apache nge .htaccess. Le snippet yekhodi elandelayo isabalalisa izivakashi zayo ngokulinganayo kuzo zombili izinguqulo zamakhasi amabili https://vielhuber.de/test1.php (okuhlukile 1) ne- https://vielhuber.de/test2.php (okuhlukile okungu-2). I-randomization isuselwa esikhathini samanje se-server.
...Abakaki abasontekile bayasetshenziswa ekuchazweni kwezincazelo zomsebenzi ngokuhlukaniswa kwamacala. Silandela umbuzo olula wokuthi ngabe lokhu kumelwa nakho kungasuswa futhi umsebenzi ungancishiselwa kwisaziso esenza ngaphandle kwaso. Isibonelo, umsebenzi
$$f: \mathbb{R} \to \mathbb{R}, f(x) = \left\{\begin{matrix} 42, & \text{falls } x = 0 \\ x, & \text{sonst} \end{matrix}\right.$$
ngosizo lwemisebenzi eyisisekelo yezibalo kusetshenziswa igama lomugqa owodwa?
...Lapho ubuka idatha ku-Google AmaSpredishithi, umuntu uhlangabezana nenkinga yokuthi i - \(x\) -axis ayikwazi ukugcwalisa ngokuzenzakalelayo izikhala ezingekho kumanani wombhalo (njengasemavikini ekhalenda). Ukuxazulula inkinga, ukhiqiza uchungechunge oluqhubekayo lwezinsuku, ubale amaseli azivelela bese ubona ngeso lengqondo izibalo eziqoqiwe.
...Njengengxenye ye-Google Cloud yayo, i-Google inikeza i- Google Translation API ngesakhiwo sezindleko ezisuselwa ekusetshenzisweni. Kukhona futhi i- API engenamibhalo engasetshenziswa ngaphandle kokhiye , kepha enqaba ukusebenza ngemuva kwezicelo ezimbalwa nje. Lapho usebenzisa umsebenzi wokuhumusha iwebhusayithi weGoogle Chrome, kuyabonakala ukuthi amakhasi angahunyushwa ngekhwalithi enhle kakhulu ngaphandle komkhawulo obonakalayo.
...Uma uxhuma iGithub noMqambi , kufanele unikeze inombolo yenguqulo nge- tag tag . Umyalo olandelayo womugqa womyalo unquma usuku lwamanje futhi uwukhulise (ngokuya nge- SemVer ) ngenombolo yenguqulo. Isibonelo, inguqulo 1.1.0 ilandela ngemuva kwe-1.0.9. Uma kungekho umaki onikiwe, uhlobo lumakwa ngokuzenzakalela nge-1.0.0. Amathuluzi anjengezicucu noma izingwegwe ze-git anciphisa leli hlane lezimpawu.
8cd852c96ec1e60e8a5ac1f3614b2397
...Ngeshwa, i- MySQL ayihlinzeki ngomsebenzi we-ALTER TRIGGER. Ukuze uhlele i-trigger ekhona, kufanele uqale uyisuse bese uyivuselela. Isitatimende se-CREATE TRIGGER singafundwa ngokungaqondile nge- information_schema . Lokhu kusivumela ukuthi sishintshe izimbangela ngokudlula eceleni. Ukwenza lokhu, wenza izinguquko zakho kumphumela womyalo olandelayo WOKUKHETHA (shintsha i-database bese uqala igama ngaphambili) bese wenza umbuzo.
...IVanillaJS ibilingana ne - jQuery yakudala cishe kuzo zonke izindawo kusukela nge- ES6 futhi manje iphakeme kakhulu. Ngakho-ke kuyakhokhela ukuthuthela kancane kancane ikhodi yefa kude ne-jQuery. Kodwa-ke, kufanele uqaphele lapho ucupha imicimbi yezinguquko mathupha. Isibonelo, i- document.addEventListener ayiqalisi ku- jQuery.change () . Ukubuka konke okulandelayo kufingqa izici ezikhethekile.
...Ukuhlelwa kwamakhukhi ngemibhalo yakho noma yomuntu wesithathu kungalawulwa kahle ngosizo lwe-PHP neJavaScript. Yize lesi kungesona isixazululo esanele sokwenza izixazululo zamakhukhi ngemuva kwesinqumo senkantolo esimelene nePlanet49 (lapha kubalulekile ukuthi amathuluzi okulandela umkhondo afana ne-Google Analytics angalandeleli futhi ngenxa yalokho angawasethi amakhukhi), kungenza umqondo kube ngama-cookies amhlophe / amnyama.
...Ukuze wonge ugesi noma wehlise umbono wakho wokuqapha, kungakuhle ukuthi unqamule ngokuphelele amadivayisi angasetshenziswanga kwikhompyutha yakho. Amadivayisi afana namabhokisi wemisindo noma ama-webcam angavalwa / enziwa asebenze ngendlela yakudala ngomphathi wedivayisi. Yonke le nto iyasebenza nangeskripthi. Indlela ejwayelekile yokwenza lokhu yayijwayele ukuba yi- devcon . Windows 10 manje inikeza indlela elula yokwenza lokhu ngePowerShell .
...I-Skype inomsebenzi omuhle, ofihliwe: esimweni sokudluliswa kwamavidiyo, ingemuva lingafiphaliseka ngokuzenzekelayo ngokuchofoza kunkinobho yevidiyo bese kusetshenziswa umsebenzi othi " Blur my background ". Ngosizo lobuhlakani bokufakelwa, lokhu kusebenza nganoma iyiphi ikhamera ngisho nangaphandle kolwazi lokujula. Yonke le nto ibukeka ingongcweti kakhulu futhi ifihla izinto eziyimfihlo noma ezingabalulekile ngemuva.
...Ama-SVG adlala indima enkulu kuwebhu yanamuhla. Abanawo amafonti wesithonjana asuswe emakhaya kuphela, kepha futhi banikeza nethuba lokukhohlisa nge-CSS noma ngeJavaScript. Uma ufuna ukugcina i-vector graphic yewebhu kusuka ku- Adobe Illustrator njenge-SVG, kufanele wenze amasethingi wokugwema izingibe nokunciphisa izikhathi zokulayisha, engizokwethula ku-athikili elandelayo.
...IProject Euler iluchungechunge lwezinkinga ezijabulisayo zohlelo, imvamisa enesizinda sezibalo. Izinkinga zivame ukwenziwa ngendlela yokuthi kufanele kwenziwe ama-algorithm eyinkimbinkimbi ukuze kuzuzwe inhloso ngesikhathi esifanele. Namuhla sixazulula inkinga ye-15: Izindlela ze-Lattice , lapho ungathola khona isisombululo ngezindlela ezilula zokuhlanganisa.
...I-WordPress isebenzise ngokwendabuko izibuyekezo zangemuva kusukela enguqulweni engu- 3.7 futhi yazisebenzela ngokuzenzakalela ukukhishwa okuncane. Ngosizo lwezihlungi, ungalawula ukusebenza ngokunembile, yini ngempela evuselelwa ngokuzenzakalela. Ukufakwa unomphela, okuzenzakalelayo ngokuphelele kwazo zonke izinto ezincane, ezinkulu, i-plug-in, ingqikithi nezibuyekezo zokuhumusha akuhloselwe, kepha kungenziwa ngenye indlela kalula.
...Kumawebhusayithi asuselwe ku- WordPress , Joomla noma i- Laravel futhi angenakho okuqukethwe okuqondene nomsebenzisi, kungakuhle ukuthi ugcine wonke amakhasi ku-static HTML cache futhi uvuselele kuphela i-cache ngesandla (noma nge-othomathikhi) lapho kwenziwa izinguquko ku-backend. Kodwa-ke, uma ikhasi liqukethe okuqukethwe okunamandla okuxhomeke kumaseshini namakhukhi noma futhi ngolimi nendawo, i- OPcache ifanelekile .
...Ukuze sandise amafomula kuwo wonke amakholomu ngaphakathi kwe-Google AmaSpredishithi, sincoma ukusebenzisa umsebenzi owusizo we- ARRAYFORMULA . Ngeshwa, lokhu akusebenzi ngokuhlangana neminye imisebenzi ebalulekile efana ne- QUERY noma i- INDIRECT , yingakho kukhona ukuhlelwa okuphelele komqondo kusetshenziswa i- Google Apps Script noma, kungenjalo, ukukopishwa ngesandla kwefomula kuye emgqeni wokugcina.
...Indida kaSimpson ingenye yezinto eziqondakala kalula futhi ngasikhathi sinye ezimangazayo ezibalweni. Kwenzeka noma nini lapho amaqembu emininingwane abonisa ukuthambekela okuthile, kepha leyo nqubo ibuyiselwa emuva lapho amaqembu ehlanganiswa. Ngosizo lwesibonelo esilula, indida ingaqondakala ngokushesha.
...Umphathi Wethegi yeGoogle uzimise njengezinga le-de facto lokuhlanganiswa kwezikripthi zokulandela umkhondo. Ngale ndlela, ngakolunye uhlangothi, izibopho (ukumaketha oku-inthanethi kuqhathaniswa nezinhlelo) kuhlukaniswe ngokusobala futhi, ngakolunye uhlangothi, ungasetha ngokushesha futhi uguqule ukulandela ngomkhondo ngesiteshi esengeziwe sokuhambisa. Nawa amathiphu amabili amancane wokusetha izimbangela.
...Kusuka ku-FRITZ! OS 07.10 kuya phambili, uma i-inthanethi yehluleka, i-FRITZ! Ibhokisi lingasebenzisa okwesikhashana i-hotspot engenantambo yeselula njengokubuyela emuva. Umsebenzi ufihliwe ngaphansi kwe- Intanethi> Idatha yokufinyelela> Umhlinzeki we-Intanethi> Ukufinyelela okukhona nge-WLAN . I-FRITZ! Ibhokisi bese isebenza njenge-router uqobo futhi inikeze inethiwekhi enebanga layo lekheli. Lapho i-Inthanethi itholakala futhi, umane usethe kabusha isethingi. Bekufanele futhi ngihlole izinketho ze- WLAN> Inethiwekhi yomsakazo> 2.4 GHz frequency band esebenzayo ne- Intanethi> Idatha yokufinyelela > IPv6> IPv6 ukwesekwa kuyasebenza .
...I-Flower of Life iyindlela ejwayelekile, efana nembali, iphethini yejometri etholakale emathempelini, emibhalweni yesandla, futhi isikhathi esithile esikweni le-pop izinkulungwane zeminyaka. Iphethini nayo ibamba iqhaza ku-esotericism. Konke lokhu sikushaya indiva manje bese sigxila ekwakheni okulula ukwakheka kwejometri, okwakhiwa imibuthano eminingana ebekwe ngokulingana, egqagqene.
...I-imeyili yokuxhumana phakathi kwe-asynchronous - ngaphandle kwazo zonke iziphrofetho zembubhiso ezungeze iSlack ne- Discord - indawo yokuxhumana evelele emkhakheni wezamabhizinisi emhlabeni jikelele. Ngaphezu kwe- Inbox Zero evela kwaMerlin Mann, maningi amanye amasu okubhekana nezikhukhula zansuku zonke zama-imeyili, kufaka phakathi lokho okubizwa ngokuthi ukubambezeleka kwe-imeyili, okusho ukubambezeleka kokulethwa kwama-imeyili.
...Ezinsukwini ezimbalwa ezedlule, bengifunda lo mbuzo olandelayo ku- StackExchange mayelana nokuvunguza kwama-integer. Sifuna ifomula evaliwe yezixhumanisi zesici se- \(n\) -th kokuphindaphindekayo okulandelayo, okusuka kumsuka kuye ngaphandle kuqhubekele phambili kuye ekugcineni okungapheli:
.. 9 10 11 12
23 8 1 2 13
22 7 0 3 14
21 6 5 4 15
20 19 18 17 16
...Lapho usebenza ne- Google AmaSpredishithi , imithetho emihle, esuselwa kumsebenzisi yokuhlela amakhasi okusebenzela, amakholomu nemigqa kungachazwa ngaphakathi kwespredishithi. Ngeshwa, ayikho indlela yokuvimbela amalungelo okufunda. Kodwa-ke, lokhu kungasiza kakhulu ezimeni eziningi. Ngakho-ke ukhombisa kuphela amakhasimende akho lawo mathikithi abawakhathazayo noma abasebenzi kuphela ngamaphrojekthi abasebenza kuwo.
...npm umphathi wephakheji ozenzakalelayo weNode.js. I-Facebook kade yakha enye indlela yokuphatha isisombululo ebizwa ngeYarn . Intambo ibonakala inyamalala kancane ezindaweni ezifundwayo zeGithub njengesixazululo esijwayelekile nezibalo ezisendaweni esemthethweni zibonisa ukuthi ingxenyana yamaphakeji yenziwa yiYarn. Noma kunjalo, kufanelekile ukucabanga ngaphandle kwebhokisi.
...
Uhlelo lokusetha kabusha \(\TeX\) lwakhiwa ngo-1977 nguDonald E. Knuth wodumo . Iphakheji yesoftware \(\LaTeX\) iseseyingxenye ye-repertoire ejwayelekile lapho kwenziwa amaphepha esayensi. Ngamathuluzi amabili alandelayo, ama-PDF asevele enziwe namanothi abhalwe ngesandla angaguqulwa ngokuzenzakalela abe yi-TeX. Imiphumela ithembisa kakhulu.
Impikiswano yokulingisa kaNick Bostrom ilula ngokumangazayo futhi icacile. Ayizami ukufakazela ukuthi siphila ekulingiseni, kepha kunalokho yakha ngobuciko amathuba amathathu, elinye lawo okumele libe yiqiniso. U-Elon Musk futhi ukhuthaza umbono ofanayo, owenza lo mbono waziwa emphakathini obanzi. Iphepha elisemthethweni selineminyaka engaphezu kwengu-14 ubudala futhi namakhasi amaningi afushane. Isitatimende esimaphakathi kulula ukusiqonda futhi sihlangene.
...Ama-plugins we- WPML anamandla wobuliminingi kanye nama- Advanced Custom Fields ezinkambu zakho ayimishini ejwayelekile ekufakweni okuningi. Kuyacasula lapho ukungasebenzi kahle nokulahleka kwedatha kwenzeka ngokuhlangana. Imibiko yesiphazamisi ngale ndaba ineminyaka embalwa ubudala futhi ayiphendulwa ( lapha nalapha nalapha nalapha nalapha ). Ngisanda kubhekisisa inkinga.
...Kwezinye izingcingo ze-Android, zombili iziphequluli ze-Facebook ne-Instagram ezingaphakathi nohlelo (kusukela namuhla) ziziphatha ngendlela engafanele uma inkambu yokulayisha ngaphakathi kwekhasi lokukhangisa elikhangisiwe noma elixhunyiwe lichaze imfanelo yokwamukela. Inkinobho ngakho-ke yayingasebenzi. Uma uvula ikhasi kwisiphequluli sangaphandle, esivamile ngaphandle kohlelo lokusebenza lwe-Facebook, konke kuhamba kahle. Lokhu kuyacasula (ikakhulukazi njengoba kubikwe isikhathi eside ), kepha kungaxazululwa nge-workaround.
...Amathuluzi wonjiniyela weGoogle Chrome aphakathi kwamandla amakhulu emakethe yesiphequluli. Izici ezintsha zingena njalo ngenyanga, i-Google eyethula ngendlela ecindezelwe ku- YouTube . Kepha imvamisa yizinto ezincane empilweni ezijabulisayo. Uma ufuna ukususa izinto ze-DOM ku-Google Chrome, ungakwenza lokhu ngokhiye wokususa. Kepha namuhla kuphela ngibonile ukuthi izinto ze-DOM nazo zingahanjiswa kalula zisebenzisa ukuhudula nokudonsa:
...A segolide umthetho endaweni yonke Git yilesi: "Ingabe bophezela ekuseni futhi ngokuvamile". Uma ubusuku bebudlula kancane, noma uma ufuna nje ukubuka konke ngesimo samanje kukhompyutha yakho, umyalo ukuthathela
d8a38f92d0baa14f9d4568826c13ad46
"isimo se-git" sawo wonke amakhosombe akufolda yamanje noma kunoma iyiphi ifolda engaphansi futhi ahlanganisa amanani ngokubuka konke okuhle:
...Lapho ngifuna elilungile ukuthuthukiswa imvelo, i-Windows 10 izipesheli izixazululo okuphelele ezifana XAMPP , WAMP futhi MAMP , ukufakwa bomdabu ngesandla, futhi wekhasi izixazululo ezifana abangondingasithebeni ( Scotch Ibhokisi ) kanye Docker ( Devilbox , Laradock ). Kepha ngenxa yezidingo zami njengokulungiswa kwamahhala, izitifiketi zangempela ze-SSL zekhadi lasendle, ukufinyelela kuwo wonke amadivayisi wokugcina kunethiwekhi yendawo kanye nokuzinza okuphezulu nokusebenza, zonke izixazululo zehlulekile - ngaphandle kwesisodwa.
...Enye yamandla kaLaravel yi-syntax yayo enhle. Uma unamamodeli amaningi nobudlelwano eLaravel (ngenxa yamatafula amaningi asendaweni egciniwe), ukunqamula kuvame ukuphela ngekhodi engeyinhle kangako. Ngokuhamba kwesikhathi, izandiso ezintathu ezincane zikhombisile ukuthi zingifanele, engingathanda ukuzethula kafushane ngezansi. Sisebenzisa nje ifa elithile, izindlela zomlingo namaqoqo wangokwezifiso.
...Ukuphathwa kwenguqulo iGit manje sekujwayelekile cishe kuwo wonke amaphrojekthi wewebhu nakuzo zonke izindawo (kufaka phakathi ukukhiqizwa). IGit ihlala idala ifolda engaphansi. Futhi uma lokhu kusezingeni lefolda yomphakathi yewebhusayithi, ungafinyelela esidlangalaleni amafayela abucayi (ngokwesibonelo, ukushaya /.git/logs/HEAD kukhombisa okokugcina okwenzile ) . It uchaza ngokuningiliziwe indlela ungakwazi uzenze umuntu wesithathu (!) Git Igumbi ngaphandle lwemibhalo lohlu.
...Ngo oludala iposi blog Ngachaza ukuthi ukusingatha Node.js mahhala usebenzisa Heroku . Manje ngizokukhombisa indlela ongayifaka ngayo i-Node.js , npm ne- Composer kunoma yikuphi okunye okwabelwana ngakho ngaphandle kwamalungelo empande ngemigqa embalwa yekhodi. Ngayo ungafaka amaphakheji, usebenzise izinhlelo zeVue.js noma vele uqale iseva ye-Express.js. Sihlala sisebenza enkombeni yomsebenzisi futhi sisebenzisa i- nvm - iNode Package Manager.
...Ku-PHP <7.2 ungakha ukuhlelwa okungeke kusatholakala kalula:
91367d1c4636fd753b381406024e303c
Ungenza ezinye izinto ngayo.
...Umyalo olandelayo usungula ukuxhumana neseva nge-SSH, wenza eminye imiyalo (ngokwesibonelo, ushintsho kwincwadi engezansi bese uthumela isimo se-git ) bese ushiya igobolondo livulekile. Ifayela le-.bashrc lilayishiwe, elinika amandla ama-subshells anemibala. Icebo ngukugcina ifayili lesikhashana / tmp / initfile ngemiyalo oyifunayo, ukuqala i-subshell (esimweni sethu bash) ngomyalo --init-file. Ngaphakathi kwaleli fayela, ifayili elifanayo liyasuswa futhi ngokushesha ukuze kungashiywa mkhondo.
...Uma uhlanganisa idrayivu yenethiwekhi kuWindows Explorer, lokhu akusebenzi kubanzi kohlelo kepha kusebenza kuphela i-akhawunti yomsebenzisi yamanje. Lokhu kusho ukuthi awukwazi ukufinyelela le drive yenethiwekhi kuhlelo lokusebenza olusebenza ngamalungelo okuphatha. Lokhu kungashintshwa kalula: Dala i-DWORD (32 bit) entsha ene- EnableLinkedConnections enenani elingu-1 kwirejista ngaphansi kwe- HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System bese uyiqala kabusha. Ukushayela kwenethiwekhi okuhlanganisiwe kuyabonakala lapho yonke indawo.
...Uma ufuna ukufinyelela ngokushesha kufolda yendawo ngaphansi kweWindows oyisebenzisa kaninginingi, ungavele uyinikeze incwadi yakho yokushayela. Kukhona ukuphambuka kuphela nge- "Connect network drive", ngoba awukwazi ukucacisa indlela C: \ Abasebenzisi \ David \ Okulandwayo, ngokwesibonelo. Njengesixazululo, faka lokho okubizwa ngokuthi isabelo sokuphatha sedrayivu, esikhona ngokuzenzakalela kuyo yonke ifolda: Esibonelweni esingenhla lokhu kuzoba \\ localhost \ c $ \ Users \ David \ Downloads .
...Ixoxo ligxuma lizungeze ulayini wezinombolo bese uzama ukulibamba. Ukugxuma nokubamba njalo kuyashintshana. Ixoxo liqala endaweni \(s \in \mathbb{Z}\) futhi ngakho konke ukunyakaza ligxuma ibanga le- \(z \in \mathbb{Z}\) (uma \(z>0\) , ligxume ngakwesokudla, ngaphandle kwalokho uma kwesobunxele). \(z\) kuyefana kukho konke ukweqa. Ukuqhafaza kuqukethe ukucacisa indawo ephelele. Umuntu akazi \(z\) noma \(s\) . Sikhombisa ukuthi kunendlela yokuhlala ubamba isele.
...Hhayi kuphela lapho usebenzisa u- npm ngaphansi kweWindows uthola umkhawulo manje osuneminyaka ecishe ibe ngu-30 ubudala, evimbela izindlela eziya kumafolda namafayela afinyelela ezinhlamvini ezingama-255. Lokhu akulona iphutha le-NTFS, kepha i- LFN . Lokhu kuholela izimbungulu ezicasulayo nokungahambelani phakathi kwezinhlelo zokusebenza. Ngezikhathi ze- WSL, lesi yisimo esidabukisayo, ngenhlanhla ukuthi ungazilungisa ngokwakho ebhukwini isikhathi esithile.
...Kuhlaka lwe-PHP Laravel ngaphakathi kwezindawo ezikhiqizayo, abasebenzi nabaqondisi baqinisekisa ukuthi imisebenzi egcinwe eRedis, ngokwesibonelo, iyacutshungulwa. Uma ufuna ukuzimela ngokuphelele kulokhu ku-localhost, ungasebenzisa umshayeli wokuvumelanisa ukwenza imisebenzi ngaso sonke isikhathi ngokushesha. Lokhu kunenkinga yokuthi inqubo yamanje ye-PHP ivinjiwe futhi isicelo silenga kuze kube umsebenzi usucutshunguliwe.
...Ngosizo lwe-JavaScript analytics.js kusuka ku-Google Analytics, noma yimiphi imicimbi kumawebhusayithi ingalandelwa. Le micimbi, ngokwesibonelo, isilinganiso esilinganiselwe sobude bendawo yokuhlala, ubukhulu bokuskrola okuphezulu kwezivakashi noma ezinye izenzo ezizodwa njengokuhambisa amafomu. Uma ufuna ukuhlola imikhankaso yokukhangisa noma wenze izivivinyo ze-A / B ngokuhamba kwesikhathi, ngokwesibonelo, udala lokho okubizwa ngamaphrojekthi wempokophelo.
...Ukunikezwa kohlangothi lweseva manje sekuyingxenye yokubuyisa okujwayelekile kwamawebhusayithi nezinhlelo zokusebenza. Iziphequluli ezifana ne-Google Chrome nazo zivame ukugcina i-cache ngangokunokwenzeka ukuze kuncishiswe izikhathi zokulayisha zamakholi aqhubekayo. Ukungasebenzi kwe- cache kwamafayela e-CSS / JS / image kungaxazululwa ngosizo lwe- mod_pagespeed , Expires / Cache control header, i- cache expression noma i-pragmatic kakhulu futhi ngqo ngamapharamitha ngamanye ngemuva kwegama lefayela.
...Umhlinzeki i-Bitbucket akayinikezi (noma kumanani entengo asuselwa ku- Standard ne-Premium) ithuba lokugcina okhiye be-SSH ngamalungelo okubhala ezingeni lokugcina. Ukugcina ukhiye wakho we-SSH kuseva yokukhiqiza akuyona inketho, ngaphandle kwalokho ungafinyelela kuwo wonke amanye amaphrojekthi osebenza kuwo njengamanje ukusuka lapho. Kukhona okubizwa ngokuthi okhiye bokufinyelela , kepha lokhu kuvumela amalungelo okufunda kuphela.
...Amathuluzi avela kwaSysinternals nguMark Russinovich akufanele alahleke kunoma iyiphi ikhompyutha ye-Windows. Uma uhlala ufuna ukuba nenguqulo yakamuva, ungayihlanganisa njengedrayivu yenethiwekhi. Ukusetshenziswa kwenetha lomyalo s: \ live.sysinternals.com \ DavWWWRoot kulayini womyalo kwanele (njengomsebenzisi ojwayelekile). Amathuluzi amahle afana ne-PsList, i-PsKill noma i-Process Explorer ayatholakala ku-S drive.
...Lapho ukhipha amaviki ekhalenda ngosuku oluthile, kufanele uqaphele ku-Google AmaSpredishithi (njengakwi-Microsoft Excel). Umsebenzi = IKHALENDA LESONTO (NAMUHLA ()) linquma kusetshenziswa isilinganiso esijwayelekile saseMelika, lapho usuku lokuqala lonyaka luhlala lunikezwa isonto lekhalenda 1. Lokhu kuchazwa ngokuhlukile eJalimane: Lapha isonto lekhalenda lokuqala yisonto lapho okungenani izinsuku ezi-4 ziwela onyakeni omusha. Ku-Google AmaSpredishithi ungaxazulula inkinga (ngokungezelela kokunye, ezinye izindlela ezijabulisayo njenge = SHORTEN ((TODAY () - DATE (YEAR (TODAY () - REST (TODAY () - 2; 7) +3); 1; REST (TODAY ( ) -2; 7) -9)) / 7) kanye ne- modified = IKHALENDA IVIKI (NAMUHLA (); 21) ) kalula ngomsebenzi owenzelwe ngokukhethekile = ISOWEEKNUM (TODAY ()) .
...Njengoba Masibethelwe , amawebhusayithi abethelwe manje asejwayelekile. Ngisho nentuthuko yasendaweni, izitifiketi ze-SSL sezibaluleke kakhulu (ngokwesibonelo, i- navigator.geolocation idinga ukubethela kwe-SSL endaweni yangakini). Kusukela inguqulo 58 ye-Chrome, ukusekelwa kwe-CN (Igama Elijwayelekile) kuyekisiwe futhi i-SAN (Igama Elinye Igama Lesifundo) yenziwe yaba yisibopho. Njengomphumela, i-Chrome ngokuzumayo ayisazamukeli zonke izitifiketi ze-SSL ezenziwe ngokujwayelekile .
...Cabanga ngabantu ababili \(A\) no \(B\) abangazalwanga ngosuku olufanayo futhi \(A\) bancane kuno \(B\) . Khombisa ukuthi kunemilaza emibili yeminyaka ncamashi \(a,b \in \mathbb{N}\) , esebenza kuyo: \(2\cdot a = b\) . Siqale ukusetha \(d \in \mathbb{R}^+\) njengomehluko wobudala phakathi kuka \(A\) no \(B\) ekuzalweni kwe \(A\) nge \( d = d_0 + d_1 \) , \( d_0 \in \mathbb{N}_0, d_1 \in \mathbb{R}, d_1 \in [0;1[\) . Manje sibheka iphuzu lokuphikisana nesikhathi \(x \in \mathbb{R}^+\) ngemuva kokuzalwa kwe- \(A\) nge \(x = x_0 + x_1\) , \(x_0 \in \mathbb{N}_0, x_1 \in \mathbb{R}, x_1 \in [0;1[\) .
...Njengoba iGit ingawazi amafolda, amafayela kuphela, izakhiwo zefolda ezingenalutho azigcini endaweni yokugcina izinto. Kodwa-ke, njengoba izinhlaka namaphrojekthi amaningi akudinga ngokuphelele lokhu, kufanele agcine lapho. Umkhuba ojwayelekile ukudala amafayela okuthiwa yizibambi ndawo (avame ukubizwa ngokuthi .gitkeep), acacisa ngokuphelele isakhiwo sefolda. Lawa mafayela angadalwa kalula futhi, uma ufisa, futhi aqinisekise ukuthi amanye amafayela kumafolda awanakwa.
...Ukusingathwa kweNode.js akukasakazeki kakhulu, ikakhulukazi emazweni akhuluma isiJalimane. Inkampani yamafu yaseMelika iHeroku inikeza isisombululo lapha - futhi nangaphandle kwenkokhiso . Uhlala uqaphela umbono wokuthi "Yakha izinhlelo zokusebenza ... hhayi ingqalasizinda" futhi usenemikhawulo. Njengesibonelo, sisebenzisa umsebenzi omncane we-cron osuselwa ku- PhantomJS , esusa iwebhusayithi nsuku zonke futhi ithumele isihloko sekhasi nge-imeyili.
...Ngaphezu kokuphikisana okuvundlile , uGeorg Cantor uphinde wathuthukisa umsebenzi wokubhangqa we-Cantor \(\mathbb{N}^2 \to \mathbb{W}, \quad c(x,y) = \binom{x+y+1}{2}+x = z\) , efaka noma yiziphi izinombolo ezimbili \(x,y \in \mathbb{N}\) ngenombolo entsha \(z \in \mathbb{N}\) . Isibonelo, \(c(3,4)=\binom{3+4+1}{2}+3 = \binom{8}{2}+3=\frac{8!}{6!\cdot 2!} +3 = 31 = z\) ukufaka amakhodi okuhlukile kwezinombolo \(3\) kanye \(4\) kunombolo \(31\) . Khombisa: Isethi yamanani \(\mathbb{W} = \mathbb{N}\) , okungukuthi \(z\) ithatha zonke izinombolo zemvelo.
...\(r_1 = 6370km\) umhlaba (njengebhola \(r_1 = 6370km\) ) \(r_1 = 6370km\) \(r_2 = 2mm\) ) bese \(r_2 = 2mm\) intambo phezu kwenkabazwe ukuze ilale iqinile ebusweni. Manje uzelula zombili izintambo ngemitha elilodwa lilinye. Zombili izintambo manje kufanele zilele ngokugcwele phezu kwenkabazwe futhi - azisalali ngokuphelele ebusweni, kepha sezindiza ngaphezu kwenkabazwe. Intambo intanta ngaphezu komhlaba iphakeme kangakanani, iphakeme kangakanani ngaphezu kwepea?
...Kukuyiphi i-% yesikhathi sosuku lapho zombili izandla zewashi le-analog zisengxenyeni efanele yokudayela? Okokuqala, bheka ihora lesandla, elisesandleni sokudla njalo ngamahora ayi-12 kwangu-24 (50%). Kusukela ngalesi sikhathi isandla seminithi sizoba sesandleni sokudla emahoreni ayi-6 kwangu-12 (25%). Kulawa mahora ayi-6, isandla sesibili sichitha amahora ama-3 ngasohlangothini lwesokunene (12.5%).
...ILaravel yenza ukuxhumana ne-database kube lula kakhulu nge-Eloquent. Lapho usebenza nobudlelwano obuhle , lapho ubiza okuguquguqukayo okunamandla (ngosizo lwezindlela zemilingo ze -PHP), kufanele wazi ukuthi izimo zamamodeli azibonisi izinguquko ezintsha, kepha zigcinwa unomphela lapho zibizwa okokuqala.
...Lapho ubamba iGit ku- Bitbucket, kunomkhawulo onzima we-2 GB - uma lokhu kudluliwe, unokufinyelela kokufunda kuphela endaweni yokugcina izinto. Ukuvimbela lokhu, ngokwesibonelo, ungasusa emuva amafolda amakhulu noma amafayela kusuka kokuzibophezela kwakho. Kepha futhi kwezinye izimo (uma idatha yokungena ingene kumlando noma ama-node_modules ehlehliselwe emuva enkosini) kuzofanela ubambe umlando we-Git, ngokuphambene nobunjalo bayo.
...Esikhathini se- Let Encrypt , amawebhusayithi abethelwe manje asejwayelekile. Kodwa-ke, i-wildcard noma izitifiketi ezinwetshiwe ezinokuqinisekiswa komnikazi othembekile nazo ziyadingeka kaningi. Umhlinzeki DomainFactory unikeza izitifiketi ze-SSL ezingabizi kakhulu ezingasetshenziswa nangaphandle. Ukusetha kwi- IIS yamanje kuphumelela ngaphandle kwe- CSR ngosizo lwe- OpenSSL . Kokulandelayo ngizokhombisa kafushane ukuthi yiziphi izinyathelo ezidingekayo kulokhu.
...UThomas M. Cover ubuze lo mbuzo olandelayo omangazayo ngo-1987 ku- "Open Problems in Communication and Computation": Player \(X\) ubhala izinombolo zemvelo ezimbili ezihlukene futhi ezikhethwe ngokungahleliwe \(A\) kanye \(B\) kwababili abahlukene Ucezu lwephepha walibeka phansi etafuleni. Umdlali \(Y\) manje ukhetha ngokungahleliwe eyodwa yalezi zingcezu zephepha, abone inombolo bese manje kufanele anqume ukuthi le nombolo incane noma inkulu yini kunenye leyo esabheke phansi etafuleni.
...Lapho umdlalo webhola lezinyawo uqala, ibhola lilele maphakathi nenkundla bese lihanjiswa lizungeze inkundla imizuzu engama-45 ngokushintsha nokujika. Ekuqaleni kwesiwombe sesibili ibhola liphinde libe maphakathi nenkundla. Sikhombisa ngezindlela ezilula ze-algebra eqondile ukuthi inani elingenamkhawulo lamaphuzu ebusweni lihlala lisesimweni esifanayo nasesimweni sokuqala noma ngqo 2.
...Lapho ulungisa amaphutha ama-blade templates ku-Laravel 5. * uvame ukuthola imilayezo yamaphutha engenangqondo ebhekisela ekubukweni okulondoloziwe. Esikhathini esedlule, wonke umuntu ubengcono: Ukubukwa kokulungisa iphutha enguqulweni yesi-4 bekuqukethe imisebenzi ewusizo kakhulu futhi ibuye ibe muhle ngokubukeka. Ngemigqa embalwa yekhodi ungabuyisa lokhu kusebenza ngosizo lwe- whoops ("amaphutha we-PHP wezingane ezipholile").
...Noma ngabe izinkomba, ophathina noma amakhasimende - kunamacala amaningi lapho ufuna ukukhombisa ama-logo amaningi eduze komunye nomunye ngokuzwana. Ubungako bama-logo abuhambisani kakhulu. Imvamisa ulandela isisu sakho sesisu sokumelwa ngosayizi ekwakhiweni, kepha futhi kunendlela eqondile yokubala yokumelwa okubonakalayo ngokulinganisa izindawo zamalogo. Esibonelweni esilandelayo ungakwenza lokhu ngemigqa embalwa nje yeJavaScript.
...Lapho usebenza ngokuguquguqukayo ku-PHP nakuJavaScript nsuku zonke, umuntu uvame ukuhlangana nombuzo wokuthi ukuguquguquka akunalutho. Kuyafaneleka ukwazi imisebenzi yendabuko nokwehluka kwayo ngezinhloso zokuhlola. Ngokudabukisayo, ayikho indlela elula yokuhlola ngokunembile ukuthi ngabe okuguqukayo kukhona noma cha. I-matrix engezansi ikhombisa ukuthi kusho ukuthini lokhu. Noma kunjalo, okufunayo kungenziwa kabusha kusetshenziswa imisebenzi emincane yomsizi.
...ISipgate idale i-API yamafu ethokozisayo ene-sipgate.io , lapho inamathuba amaningi ezungeze ucingo lwe-Intanethi. I-akhawunti ayikhokhelwa, futhi kunenketho yokusetha noma iyiphi inombolo yomthumeli wamahhala ku-Isici Sesitolo mahhala. Imibhalo evela ku-sipgate.io isanwebeka, kepha ngokufunda okuncane ku- Sipgate API esemthethweni ungazibona ngokushesha izinto ezijabulisayo.
...Izinhlelo zokuphatha i-database ezihlobene ezisuselwa ku-SQL zilungele ngokwengxenye kuphela imibuzo yokulandelana noma yokuphindaphinda. Ezinye izinhlelo ezinjenge- ArangoDB zingcono lapha (kube nenkulumo enhle ngalokhu ku- GOTO 2016 ). Ungakhiqiza nemibuzo ephindwayo ku-SQL ngosizo lwezisho ezivamile zetafula futhi ngaleyo ndlela ubuze amatafula akudala wabazali / wezingane wabo bonke okhokho nenzalo.
...Ngokusho kwe-w3techs.com , cishe ama-27.4% wawo wonke amawebhusayithi emhlabeni wonke njengamanje asetshenziswa ngosizo lweWordPress. Ezimweni eziningi kakhulu, lawa akuwona amabhulogi. I-WordPress ikhiqiza ngokuzenzakalelayo ama-URL amaningi, angasetshenziswanga futhi ikhiqiza izixhumanisi eziningi kakhulu ezifakwe ku-Google yi-opharetha yewebhusayithi engenazo ngisho nasesikrinini. Konke lokhu kungavalwa ngomyalo olula.
...Uma, njengami, ungena enkingeni yokuqamba kabusha izinkulungwane zamagama enkambu yefomu, ikhonsoli yeJavaScript efakwe ku-Acrobat ilungile. Kulokhu awukwazi ukusebenzisa kuphela noma iyiphi ikhodi yeJavaScript, kepha futhi ungafinyelela konke okuqukethwe ngaphakathi kwe-PDF (kufaka phakathi izinkambu zefomu). Njengoba kungekho msebenzi wendabuko wokuqamba kabusha igama ku-JS API, izinkambu zefomu zikopishwa ngazo zonke izakhiwo zazo bese zinikezwa igama elisha.
...Ku-Shopware 5, inkinga eyaziwayo ayikakaxazululwa: Uma wenza i-athikili enezinhlobonhlobo ezixhomeke kokunye ngezinketho zokumisa okukhethekile, kungenzeka ukuthi ezinye izinhlanganisela azikwazi ukukhethwa ngaphambili futhi ngenxa yalokho azikwazi uku-odwa. Ngosizo lwe-plugin, inkinga ingalungiswa kalula okwamanje.
...Kunobufakazi obuningi bokungapheli kwezinombolo eziyinhloko - i- theorem eyaziwayo ye- Euclid evela eNcwadini Yezinto ayilahlekile kunoma iyiphi inkambo eyisisekelo ye-theory. Ku- American Mathematical Monthly (khipha 122) ngo-2015 uSam Northshield washicilela ubufakazi bokuphikisana obuhle ngendlela engafani nomugqa owodwa, engingafuni ukukugodlela wona (ngamazwana amafushane).
...I-Windows Command Prompt eyedelelayo ingathuthukiswa ngokubonakalayo ngezinyathelo ezimbalwa ezilula. Ngakho-ke awukwazi kuphela ukulungisa umbala nosayizi womugqa womyalo, kepha futhi uwukhulise ngokusebenza (ukwandisa i-buffer, ukufaka isethi enkulu yamathuluzi we-UNIX). Yize i-Prompt yomyalo ingasondeli ku- PowerShell 6.0 noma entsha Windows 10 iBash Shell , ayidingi ukufihla imisebenzi yansuku zonke.
...Kuzinhlelo zokuphathwa kokuqukethwe, ama-URL kaningi awahlali elungiswe kusengaphambili ngakho-ke awadalwa ngokwezibalo kusengaphambili (njengomnikelo noma into yemenyu), kepha amakheli wezinto asuka ku-database. Ngokufana ne-WordPress ( njengoba kuchaziwe lapha ), kungenzeka naseJoomla ukwakha izakhiwo ze-URL ezinamandla (ezizimele nohlelo lwangaphakathi lwe-alias). Noma i- JRouter ingasetshenziswa lapha - noma ungasebenzisa i-liner eyodwa ku-.htaccess.
...Iziphequluli zesimanje zingasebenzisa iJavaScript ukufunda nokubhala ebhodini lokunamathisela lomsebenzisi, okusho ukuthi nazo zingayisebenzisa. Ubuchwepheshe obuyisisekelo vele buyisigqoko esidala, kepha muva nje lapho ukuhlaselwa okuningi (ngaphansi kwegama le- "PasteJacking") bekusakazeka kwi-Intanethi, okusebenzisa leli thuba kumsebenzisi ongenalwazi. Ukuqaliswa kweJavaScript yi-banal.
...Ukushintshana kwamakholomu wetafula le-SQL kuyingxenye ye-repertoire ejwayelekile ene-MySQL - lokhu (okwamanje) akusekelwa ngePostgreSQL. Yize i-wiki esemthethweni inikela nge- athikili yayo enkingeni, ayibonisi sombululo esisebenzayo futhi esisekela ukubukwa, izinkomba nezimbangela. Isigaba esilandelayo senza lo msebenzi (kuzo zombili i-MySQL ne-PostgreSQL) kungaba kulayini womyalo - noma kungenjalo ngqo ku-Laravel 5.
...Uma ufuna ukuvula ngokushesha umyalo we-oda kufolda eku-Windows Explorer, chofoza (izinga elilodwa ngaphezulu) ngenkinobho yegundane bese ubamba ukhiye we-Shift kufolda bese ukhetha u- "Open command prompt here" kumenyu yokuqukethwe. Ngisanda kuthola enye indlela, esheshayo uma ungaphakathi kwefolda: Lapha uchofoza indlela yamanje yefolda, thayipha "cmd" bese uqinisekisa nge-Enter.
...Uma usebenza ngezigaba eziphezulu (ama-taxonomies) ku-WordPress, uzobona ukuthi, ngakolunye uhlangothi, ukuboniswa kwezigaba ezihloliwe ku-backend kuyadida futhi, ngakolunye uhlangothi, okuthunyelwe akuvele kugcine kusigaba sabazali uma kufakwe esigabeni sezingane. Kokubili kungalungiswa ngemigqa embalwa nje yekhodi kusetshenziswa isistimu ye-hook enamandla (ngesimo sesenzo nesihlungi).
...Ngokungeziwe kuzici ezintsha njengokuthayipha kohlobo lwezinhlobo zedatha ye-scalar noma ukusebenza okuhle , i-PHP 7 nayo iletha izandiso zolimi eziningi ezintsha, eziwusizo nayo. I- "Spaceship Operator" ekugcineni isingenise emhlabeni we-PHP (abenzi bohlelo bakaRuby noPerl bayazi isikhathi eside). \($a <=> $b\) ibuyisa \(0\) uma futhi kuphela uma womabili ama-opharetha elingana, \(1\) uma elakwesobunxele likhulu futhi \(-1\) ngenye indlela.
...Uma uhlanganisa i-PHP nge-FastCGI ku-IIS 7.5, iskripthi ngasinye sikhishwa ngemuva kwemizuzwana engama-600 (isb.imizuzu eyi-10) ngokuzenzakalela. Ukushintsha okuguquguqukayo okwaziwayo "max_execution_time" ku-php.ini akunamthelela kulokhu, nawe (futhi) kufanele ulungise izilungiselelo ze-FastCGI. I-IIS inikeza isikhombimsebenzisi esibonakalayo sokuphatha okuguqukayo okufanele.
...Umbono wamathuba anemibandela uhlanganisa imisebenzi emihle enezixazululo eziphikisanayo. Ngaphezu kwenkinga eyaziwayo yezelamani , manje sengizobhekana kafushane nesinye isibonelo: "Manje nginezingane ezimbili. Omunye wabo ungumfana futhi uzalwe ngoLwesine. Yini amathuba okuthi enye ingane nayo ingumfana?"
...Uhlelo lokulawulwa kwenguqulo yefayela le-Git luncikile, luyashesha, futhi luyaphatheka. IGit ihlala iphatha izinto, okungamafayela. Amafolda enziwa kuphela uma kukhona amafayela kuwo, ngaphandle kwalokho iGit ngeke iwarekhode. Lokhu kunemiphumela engemihle kweminye imisebenzi. Isibonelo, uhlelo lwesitolo lakwaShopware luthembele ekulandeleni ngokuqinile isakhiwo sefolda ukuze lusebenze.
...I-Shopware inemodyuli yezindleko zokuthumela enamandla ongayingenela ngokuqondile ekubaleni. Esimweni sethu, sifuna ukusebenzisa isimo esilandelayo: Izindleko zokuthumela nge-athikili ngayinye ziqalwa ngokuya ngesisindo sendatshana (imikhawulo yesisindo icacisiwe). Kuphela okwehlukile okukhethekile lapho kungenzeka ukuthi kusethwe izindleko zokuthumela ezingaguquki zento ngayinye.
...Uhlelo lwe-WordPress permalink lungashintshwa kahle kakhulu kwizidingo zakho ngosizo lwama- tag wesakhiwo . Isethingi% postname% mhlawumbe isisombululo esivame kakhulu nesisebenzisekayo. Kodwa-ke, uma ufuna ukusebenzisa izixhumanisi zangempela ezinamandla, kufanele uqale wandise uhlelo ngekhodi lakho.
...Umuntu angacabanga ukuthi lapho uvula ama-hyperlink asuka kudokhumenti ye-Word / Excel, isiphequluli esijwayelekile siqala nge-URL oyifunayo. Ngokumangazayo, lokhu akunjalo - okuholela emiphumeleni emibi futhi kwenza izixhumanisi zamakhasi avikelwe ukungena ngemvume / asekelwe kumakhukhi kuzinhlelo zeHhovisi ezingeke zenzeke.
...NgoSuku Lobaba namuhla, indodakazi inika uyise isithombe azidwebe ngaso, okuyinto uyise abeyilangazelela. Indodakazi ithi: "Ngizokunikeza isithombe obukade usifisa futhi isipho sami sizoba isimanga". Uthukile ubaba uzindla ngobuqiniso bale nkulumo.
...Uma ufaka imibhalo engabhalwanga endaweni <head> bese ubiza ikhasi elinesitifiketi esivele sikhona se-SSL, le mibhalo iyavinjwa ngakho-ke ayenziwanga. Uma umane ushiye umthetho olandelwayo, yonke imibhalo ibizwa ngokuzenzakalela kwifomu ebethelwe uma iwebhusayithi itholakala nge-https: // - kungenjalo kungabhalwanga.
...Lapho usebenza ngamamenyu wokwehla okunemikhawulo eminingi, umuntu uvame ukungena enkingeni yokuthi ama-submenus angalungile avulwa ngephutha noma imenyu engezansi oyifunayo ivalwe ngephutha. Lo mphumela uvela lapho isikhombisi segundane sishiya imenyu ehambisanayo ezingeni eliphezulu ngenkathi uzulazulela kumenyu engezansi esivele inwetshiwe.
...I-constellation elandelayo ihlale inomphumela ongemuhle: Uma uvikela isayithi lakho nge-htaccess / htpasswd futhi ngasikhathi sinye uphoqa ukuxhumana kwe-SSL, uhlala udinga ukufaka iphasiwedi efanayo kabili (kanye nge-http futhi ngemuva kokungena ngempumelelo kwe-https). Ngosizo lwezigaba zokucushwa ezethulwe ku-Apache 2.4, inkinga ingaphathwa kalula.
...Lapho uhlela ngeJavaScript umuntu uvame ukukhubeka ngokungakwazi ukubona izintambo zemigqa eminingi ngokuzifaka kolayini abambalwa kukhodi. Ngenkathi umsebenzi kwezinye izilimi ezifana ne-PHP noma i-Ruby kungeyona inkinga, ngeJavaScript ungaqala uzungeze ama-workaround, ukusetshenziswa kwawo okunqunywa ukunambitheka komuntu siqu noma ukwesekwa kwesiphequluli.
...Ukuthumela ama -imeyili nge-PHP kusetshenziswa kangcono ngamakilasi anamandla afana ne- PHPMailer . Imisebenzi esongelayo elula yenza kube nokwenzeka ukusebenzisa okuqukethwe kwe-UTF-8, ukushumeka izithombe nokuthumela okunamathiselwe okubethelwe ngemigqa embalwa yekhodi. Uma ufuna ukuzisindisa ngaphezulu futhi, ngokungafani nesincomo, sebenzisa i-PHP function mail () , uzohlangabezana nezinkinga lapho usebenzisa ama-umlauts ne-UTF-8 kamuva nje.
...Amathuluzi okuqinisekisa afana ne- W3C Markup Validation Service noma i- Google PageSpeed Insights ayasiza ekuhloleni kahle ikhodi nokusebenza kwewebhusayithi. I-Google ithonya ikakhulukazi imboni yonke enemiqondo efana ngenhla kwesibaya - futhi iphinda inikeze imihlahlandlela eqinile kepha ewusizo yokucinana kwesithombe nokulondolozwa kwesikhashana. Noma kunjalo, kungenzeka ukuthi i-Google izinyathele ngezinyawo zayo.
...IJavaScript ibusa iwebhu naku-ECMAScript, umnyombo wolimi uyakhula. Ukucaciswa okusha (i-ES6 noma i-JS2), okulindelwe maphakathi nonyaka, kuletha nezinto ezintsha ezingasazanywa namuhla. IFirefox okwamanje inokusekelwa okuhle kakhulu , kepha ama-polyfill ngokusebenzisa okuthiwa abathuthi abanjengoGoogle Traceur nawo ayenzeka. Okulandelayo ukubuka konke okufushane kwezici ezintsha ze-ES6.
...Noma ngabe usesikoleni noma eyunivesithi: Umbuzo othakazelisayo \( 0,99999... = 1 \) bese ufaka umbuzo wokuthi lesi sibalo siyiqiniso yini: \( 0,99999... = 1 \) . Yize \(0,99999... = A\) okungapheli engxenyeni yesobunxele se-equation, sikunikeza igama: \(0,99999... = A\) . Ngemuva kokuphindaphindwa ngesici \(10\) nokuguqulwa okulula kwe-algebra, sithola ukuqonda kokuqala okumangazayo.
...Ngivele ngabhekana nenkinga yokusebenza elandelayo ye-database ye-SQL: Etafuleni le-SQL elibizwa ngokuthi "abasebenzisi" elinokufakwa okungu- ~ 1,000,000, ukuzimisela kwenani lokubhaliswa namuhla kuthathe imizuzwana engamukeleki engama-28. Izikhathi zokubhaliswa zigcinwe ngefomethi ye- “Ymd H: i: s” kukholomu “eyenziwe”.
...Ngaphezu kwenkinga eyaziwayo ye- knight nenkinga yendlovukazi, kuneminye imibuzo eminingi ethokozisayo emhlabeni we-chess. Ngithinte izifiso ezimbili ezincane ekubhaleni kwangaphambilini kwebhulogi . Uma ubhekana nezibalo ngezinkinga ze-chess, uzothola ngokushesha ukuthi izibalo zinikeza izimpendulo ezilula nezikhanyayo zemibuzo eminingi.
...Uma I-OneDrive, Eyinqolobane, I-Google Drayivu, OwnCloud, Ibhokisi.net: Akunandaba nebhokisi ogcina kulo amafayela akho - izinsizakalo zicishe zifane. Amaklayenti atholakalayo kuwo wonke amadeskithophu namasistimu eselula, amafayela angajwayelekile abetheliwe kanye nezinketho zokwabelana ziyehluka kuphela. Kepha i-OneDrive, efakwe ohlelweni kusukela ku-Windows 8.1, inesici esikhethekile: amafayela atholakala ku-inthanethi kuphela.
...Amafayela akumaseva wewebhu kufanele ngaso sonke isikhathi angabi nazikhala (hhayi "lesi isithombe.jpg"), ngaphandle kwama-umlauts noma izinhlamvu ezikhethekile (hhayi i- "football.jpg"), ngaphandle kwe-backslashes (hhayi i- "Arbeit \ Auto.jpg") futhi ngesimo esincane (hhayi "" isivivinyo.JPG "). Muva nje, kepha bekufanele ngithole futhi ngicubungule inani elikhulu lamafayela asethwe ngaphambili nganoma yiliphi igama lefayela lephrojekthi yekhasimende.
...Namuhla ngithole lo msebenzi olandelayo ngenkathi ngisebenza kuphrojekthi yamakhasimende: Thatha itafula le-SQL "umsebenzisi" ngamakholomu "id" kanye "nesikolo" bese unquma isikhundla sabo bonke abasebenzisi ngokususelwa ku- "score" lapho abasebenzisi abane- thola isilinganiso esifanayo ngesikolo esifanayo. Lo msebenzi ungaxazululwa intuitively futhi kalula ngokusebenzisa okuguquguqukayo okuchazwe ngumsebenzisi .
...Lapho usebenza ne-Facebook SDK (ngokunembile lapho ufaka umsebenzi wokungena ngemvume ku-Facebook ngaphakathi kwe-REST interface), ithokheni iklayenti elitholile ku-Facebook kufanele liqale lihlolwe ukuthi lisebenza yini yiseva ngaphambi kokuthi kuqhutshekwe neminye imisebenzi .
...Noma ngabe i-Chrome, iFirefox, i-Opera, iSafari noma i-Internet Explorer: Ngenkathi amathuluzi wonjiniyela enziwe kahle eyiphuzu lokuthengisa eliyingqayizivele leFirefox kanye ne-plug-in ethandwayo yeFirebug kuze kube yiminyaka embalwa edlule, amathuluzi wonjiniyela anamandla manje ayingxenye yesilinganiso esijwayelekile sazo zonke iziphequluli, lapho kunokuningi ongakuthola khona unikeza.
...Ngisanda kuthola inketho enhle ku-MySQL yokungena ohlelweni lwefayela futhi ngithole imininingwane ebalulekile, ngokwesibonelo ngokuba khona kwamafayela namafolda noma okuqukethwe kwawo. Lokhu kungasiza kakhulu njengokunye okuhlukile kokusebenza kwe-php file_exists , njengoba ulwazi olumayelana nokuba khona kwamafayela lusengasetshenziswa embuzweni wokuqhubeka nokuhlunga nemisebenzi yokuhlanganisa.
...Izizinda ze-vector ezifakiwe zingangeza okuhlukahlukene kubuso bewebhu obubonakala ngezithombe namavidiyo agcwele isikrini. Kungaba kuhle uma lokhu kuzohambisana nezikhathi zokulayisha kanye nehardware ebanzi nokusekelwa kwesoftware. Isixazululo esisodwa yile: canvas. Into ye-HTML elawulwa yiJavaScript isekelwa yizo zonke iziphequluli zamanje futhi ikhiqizwe ngokusebenza okuphezulu kumadivayisi eselula.
...Njengonjiniyela wewebhu, umuntu uhlala enamahloni okusebenza nezinto ze-HTML ngokwazo - ngokungafani nento ye-img, ngokwesibonelo - abanasayizi omisiwe noma isilinganiso esilinganisiwe sesici. Imvamisa ufuna ukufeza ukuthi lezi zinto ziziphatha kahle, kepha isilinganiso esiphakathi kobubanzi nokuphakama sigcinwa. I-CSS ayinikezeli ngesisombululo enembile lapha ngokuzenzakalela. Kepha ngosizo lwempahla yokubamba mpo ungafinyelela inhloso yakho.
...Ngemuva kokuthi iNkantolo yesiFunda yaseCologne ibuyele emuva ehlazweni likaRedTube ngesonto eledlule futhi ayizange ivunyelwe ukuvuma ukunikezelwa kwamakheli we-IP anempikiswano, ikhipha esinye isahlulelo esinempikiswano enkulu nesabazekayo ngesinqumo 14 O 427/13: Umbhali weStock- Izithombe ezivela kwi-ejensi ethile yezithombe kufanele nazo ziqanjwe ngokufinyelela okuqondile ezithombeni zayo nge-URL yazo.
...Ubungcweti bokucaciswa kwe-HTML5 buningi futhi eziningi zazo sezivele zisekelwa yiningi lendawo yesiphequluli - ngezansi ngifuna ukugqamisa ushintsho oluhehayo emithethweni yezinto zokwakha izidleke. I-HTML ibilokhu ihlukanisa phakathi kwebhulokhi nezinto ezisemgqeni. Incazelo yohlobo lwedokhumenti ye-HTML4, ngokwesibonelo, amagama h1, p, ne-div njengezakhi zebhulokhi kanye ne-span, img njengezinto ezisemgqeni.
...Kokubili i-Apache ku-Unix ne-IIS ezinhlelweni zeWindows zifaka izicelo ze-HTTP ngaphandle kwebhokisi lefomu lefayela. Izicelo eziya kuwebhusayithi yakho akufanele zivivinywe njalo futhi zihlaziywe ngesandla nangokuzenzekelayo (isb. ngabahlaziyi befayela lokungena njenge- AWStats ) ukuvikela ekuhlaselweni ngokugenca. Imizila yamafayela we-log afanele ekucushweni okusetshenziswa kabanzi, ngokwesibonelo, ilandelayo:
/var/log/apache2/access.log
(Isibonelo: Ubuntu 12.04, Apache 2.2)C:\inetpub\logs\LogFiles\W3SVC1\u_ex<YYMMDD>.log
(Isibonelo: Windows Server 2012 R2, IIS 8.5)
Lapho kuhlanganiswa iJoomla 3.2 kwiWindows Server 2008 R2 ne-IIS 7.5, izinkinga ezinamalungelo enkomba zivame ukuvela, ezivame ukuxazululwa ngokunganele ngezilungiselelo ezikhethwe ngokukhululekile. Isixazululo esilandelayo siphephile futhi sisebenza ngokugcwele:
- I-IIS_IUSRS iqembu lidinga amalungelo e-C: \ inetpub \ wwwroot \: funda futhi wenze, bonisa okuqukethwe kufolda, funda, bhala
- Iqembu le-IIS_IUSRS lidinga amalungelo we-C: \ Windows \ Temp \: Funda futhi usebenzise, Khombisa okuqukethwe kwifolda, Funda, Bhala
- Umsebenzisi we-IUSR kufanele abe seqenjini le-IIS_IUSRS (Ukuphathwa Kwamakhompyutha> Abasebenzisi Bendawo Namaqembu> Amaqembu)
Uma udinga amanye amalungelo wemibhalo ekhethekile yawo wonke amafayela alayishwe nge-PHP (isib. Uma ulayisha ifayela nge-PHP, i-PHP iqala ukukopisha leli fayela kwesikhashana bese lingena endleleni yokugcina. Uma ifayili selifikile enkombeni yesikhashana, lizuza amalungelo alo futhi liwagcine ngemuva kokuthuthela enkombeni yokugcina.
...Ezikhathini zehlazo le-NSA, akubona kuphela abasebenzisi be-network-savvy abazibuza ukuthi umuntu angahamba kanjani kwi-Intanethi ngokungaziwa ukuze abalekele ukuxokozela kokuqoqwa kwedatha kweziphathimandla nezinsizakalo eziyimfihlo. Kodwa-ke, lokhu kuvame ukuholela emaphutheni nasekuqageleni okungalungile. Umbono oyiphutha ophakathi nendawo wukunciphisa ukungaziwa ekugqanyisweni kwekheli le-IP.
...Iketango lokuqina lomzimba wesaphulelo uMcFIT uzinikeze ukwakheka okungcono. Ngenkathi imascot ephuzi ephuzi eyibhanana yayihlobise uhlaka oluhlaza okwesibhakabhaka, umnsalo ophuzi onemvelaphi enombala we-anthracite manje ulengiswe ngobuchule futhi ngaleyo ndlela wakhe isakhiwo esingaqondakali. Imibala ye-FDP eluhlaza okwesibhakabhaka nephuzi ayiniki uphawu lwe-logo kuphela, kodwa nayo yonke enye into yokuphrinta yomkhiqizo kaMcFIT.
...Lapho abafowethu uThomas noJohn Knoll beqala ukwenza i-Adobe Photoshop ngo-1987, ngangingakazalwa. Namuhla, ku-2013, isoftware ingenye yezinhlelo ezaziwa kakhulu ngokujwayelekile kanye nomholi wemakethe ongenakuphikiswa ekuhlelweni kwesithombe. Ngenxa ye-Adobe kanye ne-Computer History Museum, isoftware manje izogcinelwa inzalo ngendlela ekhetheke kakhulu.
...I-Chess ihehe abantu amakhulu eminyaka - imithetho yayo kulula ukuyifunda futhi ukujula kwayo okungakholeki kufinyeleleka kuphela kubadlali abanolwazi (ngeshwa, angiyena wabo). Kokulandelayo, ngizobhekana nemibuzo emibili emfushane: Kungenzeka yini, ngokulandelana okulungile kokuhamba, ukufinyelela endaweni lapho inkosi emnyama ihlaselwa yizindlovukazi ezimbili ezimhlophe ngasikhathi sinye? Kungenzeka yini lokhu nangemibhoshongo emibili emhlophe?
...Amabhayisikobho avame ukurekhodwa futhi adlalwe emuva ngozimele abangama-24 ngomzuzwana - kodwa ifomethi ejwayelekile yeminyaka ecishe ibe ngu-100 “24p” ibonakala ibhibilika. Ukuze uvikele imiphumela emibi engabukeki (isb. Ukuqhuma okunamandla lapho uvusa ikhamera ngejubane eliphakathi) kokuqagelwa kwe-24fps, abantu bebelokhu besebenza ekuphindaphindeni izinga lozimele kozimele abangama-48 ngomzuzwana nangaphezulu isikhathi eside.
...Ukuhlolwa kwesipelingi nohlelo lolimi manje sekuyimishini ejwayelekile ezinhlelweni zokucubungula amagama - kepha ukuhlola isipelingi sewebhusayithi ngokuzenzakalela kube nzima kakhulu kuze kube manje. I-Google Chrome ithatha isinyathelo sokuqala kule ndlela ngesheke elihlanganisiwe ezinkambeni zokufaka zemigqa eminingi (textarea). Manje kukhona insizakalo eyenza lokhu kwenzeke kuwo wonke amawebhusayithi.
...Emasontweni ambalwa edlule ngibike ukuthi ungazivumela kanjani izivakashi zakho ukuthi zivule uhlelo lokusebenza lwefoni kumadivayisi eselula ngokuthepha inombolo yocingo. Manje sekuvele ukuthi kungenzeka kube khona ukuvimba i-SIM khadi ngokungenakuphikiswa noma ukusetha kabusha izilungiselelo zemboni ngaphandle kwesenzo somsebenzisi.
...Ngabe kufanele amagama wesizinda namakheli e-imeyili ahlale engonobumba abancane ukuqinisekisa ukuthi ufika lapho ufuna ukuya khona? Noma ingabe lokhu akusebenzi ngokuphelele? Amaseva weposi we-Google, ngokwesibonelo, anezilungiselelo ezingajwayelekile ezinemiphumela ethokozisayo, engizoyethula kafushane esihlokweni esilandelayo.
...Ngilandela eduze ukwakheka kwezinhlelo ezahlukahlukene kuthelevishini yaseJalimane. Akunanoma yiluphi uhlelo olugcina ukwakheka kwalo kwezinkampani unomphela. Isiko lakusihlwa lomhlangano ophambi kwesikrini sethelevishini ngo-10: 15 ebusuku ngezihloko zosuku belingibangela ukuba ngiqaqanjelwe yisisu muva nje: uhlelo lombala oludida ngokuphelele selukhethwe izinyanga ezimbalwa lapho kwethulwa amanani entengo yesitoko samanje.
...Uma ulungiselela iwebhusayithi yakho yamadivayisi eselula, akufanele unake kuphela osayizi abahlukahlukene besikrini, izikhathi zokulayisha ezilungiselelwe nezici ezikhethekile ezisebenzayo (njengemiphumela yokuhambisa phezulu), kodwa futhi ubhekele amakhono akhethekile amadivayisi. Lokhu kufaka phakathi (abanye abantu kungenzeka bakhohliwe) ukwenza izingcingo.
...Okuqukethwe okufanayo kumawebhusayithi ahlukene kujeziswa i-Google ezimweni eziningi - kepha i-Google algorithm ihlakaniphile futhi iyabona ukuthi izinto ezisekhanda nonyaweni zihlala zinjalo noma ngabe izindima zokuhlola zonke zingafinyelelwa kabili ngaphansi kwama-URL ahlukile. Umbuzo othokozisayo ukuthi iGoogle isebenza kanjani ngamakhasi wokubuka konke kwe-blog.
...Ukuphepha kohlelo lokuphathwa kokuqukethwe okwaziwa kakhulu njengamanje i-WordPress kungakhuliswa kakhulu ngokuguqula izikulufo ezimbili ezincane. Kuthatha kuphela imizuzu emi-5 nolayini ababili bekhodi. Yize inkinga ingaxazululwa ngama-plugins ahlukahlukene, ngizikhawulela ngamabomu kuzixazululo ezingenawo ama-plugin.
...